Forex



Go Back   Forex Trading > Trading systems > Martingale/Average Cost and Hedging
Forex Forum Register More recent Blogs Calendar Advertising Others Help






Register
Welcome to Forex-TSD!, one of the largest Forex forums worldwide, where you will be able to find the most complete and reliable Forex information imaginable.

From the list below, select the forum that you want to visit and register to post, as many times you want. It’s absolutely free. Click here for registering on Forex-TSD.

Exclusive Forum
The Exclusive Forum is the only paid section. Once you subscribe, you will get free access to real cutting-edge Trading Systems (automated and not), Indicators, Signals, Articles, etc., that will help and guide you, in ways that you could only imagine, with your Forex trading.
  • Elite Section
    Get access to private discussions, specialized support, indicators and trading systems reported every week.
  • Advanced Elite Section
    For professional traders, trading system developers and any other member who may need to use and/or convert, the most cutting-edge exclusive indicators and trading systems for MT4 and MT5.
See more

Reply
 
Thread Tools Display Modes
  #601 (permalink)  
Old 02-19-2008, 04:37 AM
ElectricSavant's Avatar
Senior Member
 
Join Date: Jun 2007
Posts: 3,354
ElectricSavant is on a distinguished road
could an input be created to insert a wav file...type it in to the input area? put a default there as an example...but you would need to download the wave file somewhere if it were not microsoft...

Last edited by ElectricSavant; 02-19-2008 at 04:59 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #602 (permalink)  
Old 02-19-2008, 05:32 AM
wolfe's Avatar
Senior Member
 
Join Date: Jan 2006
Posts: 818
wolfe is on a distinguished road
Quote:
Originally Posted by ElectricSavant View Post
could an input be created to insert a wav file...type it in to the input area? put a default there as an example...but you would need to download the wave file somewhere if it were not microsoft...
Probably, I don't have any experience with that type of coding. Yet...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #603 (permalink)  
Old 02-19-2008, 05:39 AM
ElectricSavant's Avatar
Senior Member
 
Join Date: Jun 2007
Posts: 3,354
ElectricSavant is on a distinguished road
wolfe you can do anything with code...

Quote:
Originally Posted by wolfe View Post
Probably, I don't have any experience with that type of coding. Yet...

Last edited by ElectricSavant; 02-19-2008 at 05:49 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #604 (permalink)  
Old 02-19-2008, 05:55 AM
wolfe's Avatar
Senior Member
 
Join Date: Jan 2006
Posts: 818
wolfe is on a distinguished road
Progress is good

The code is going well. There are a lot of options, and a lot that could go wrong. That's what makes me nervous.

Here are all the options right now-

PHP Code:
extern double  Start_Lot_Size=0.1;//starting lot size for cycle
extern double  Lot_Size_Increment=0.1;//Additional orders will increase by this amount
extern bool    Double_Lotsize=false;//set to true if you want to just double every lotsize, Lot_Size_Increment ignored if true
extern bool    Choose_Own_Progression=false;
extern double  Trade_1=0;//Enter in your own trade progression lot sizes
extern double  Trade_2=0;
extern double  Trade_3=0;
extern double  Trade_4=0;
extern double  Trade_5=0;
extern double  Trade_6=0;
extern double  Trade_7=0;
extern double  Trade_8=0;
extern double  Trade_9=0;
extern double  Trade_10=0;
extern double  Trade_11=0;
extern double  Trade_12=0;
extern double  Trade_13=0;
extern double  Trade_14=0;
extern double  Trade_15=0;
extern double  Trade_16=0;
extern double  Trade_17=0;
extern double  Trade_18=0;
extern double  Trade_19=0;
extern double  Trade_20=0;
extern int     Max_Trades=20;//maximum number of trades allowed
extern bool    Close_All_Max=false;//select true if you want ALL orders to close if Max_Trades is hit 
extern bool    Pyramid=true;//if true trades with trend, if false trades against trend
extern bool    Auto_Restart=true;//set to true if you want EA to re-start after each cycle
extern bool    Use_MA_Entry=false;//select true if you want moving average to decide starting direction
extern int     Next_Trade=20;//next trade pip increment if Use_MA_Entry =true  (will trade this many pips above OR below last order)
extern int     MA_Period=7;//moving average period for calculation
extern int     Timeframe=5;//timeframe used for MA calculation, 1=1m, 2=5m, 3=15m, 4=30m, 5=1h, 6=4h, 7=1d
extern bool    Use_Kayvan_Method=true;//select to use kayvan's method
extern int     Bar_Timeframe=5;//Bar Timeframe used to look back on, 1=1m, 2=5m, 3=15m, 4=30m, 5=1h, 6=4h, 7=1d
extern int     Bars_Look_Back=1;//number of bars looked back at from current bar for high and low
extern int     EntryLag_Long=2;//number of pips above high to enter trade(ADD YOUR OWN SPREAD)
extern int     EntryLag_Short=2;//number of pips below low to enter trade(ADD YOUR OWN SPREAD)
extern bool    Use_Trailing_Stop=true;//select true to use a trailing stop based on total $amount
extern double  Trail_Start=10;//TS will start after this $Profit amount is reached
extern double  TSLoss_Percent=50;//%Percentage of your HIGHEST profit you can lose before close all is performed   
extern bool    Close_By_Percent=false;//If true it will close by percent, if false it will close by Profit or Loss in $$
extern double  TP_Percent=5;//will take profit if profit is greater than percent of account balance (close all orders)
extern double  SL_Percent=10;//will stop loss if profit is less than percent of account balance (close all orders)
extern double  Close_By_Profit=5;//close if >= to this $ amount
extern double  Close_By_StopLoss=99999;//Amount of money to close all if lost
extern int     Slippage=5;//slippage for ordersend command
extern int     Number_Of_Tries=5;//Number of tries to send an OrderSend()command if not going through
extern bool    Sound_OrderSend=true;//if true a sound will be played when an order goes through 
I hope to be done soon. Are there any options I forgot?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #605 (permalink)  
Old 02-19-2008, 06:03 AM
sivach's Avatar
Senior Member
 
Join Date: Jun 2006
Posts: 108
sivach is on a distinguished road
It would be very nice if you also add a "sound - profit taken" or "sound - end of cycle" - just for fun -



Quote:
Originally Posted by wolfe View Post
The code is going well. There are a lot of options, and a lot that could go wrong. That's what makes me nervous.

Here are all the options right now-

PHP Code:
extern double  Start_Lot_Size=0.1;//starting lot size for cycle
extern double  Lot_Size_Increment=0.1;//Additional orders will increase by this amount
extern bool    Double_Lotsize=false;//set to true if you want to just double every lotsize, Lot_Size_Increment ignored if true
extern bool    Choose_Own_Progression=false;
extern double  Trade_1=0;//Enter in your own trade progression lot sizes
extern double  Trade_2=0;
extern double  Trade_3=0;
extern double  Trade_4=0;
extern double  Trade_5=0;
extern double  Trade_6=0;
extern double  Trade_7=0;
extern double  Trade_8=0;
extern double  Trade_9=0;
extern double  Trade_10=0;
extern double  Trade_11=0;
extern double  Trade_12=0;
extern double  Trade_13=0;
extern double  Trade_14=0;
extern double  Trade_15=0;
extern double  Trade_16=0;
extern double  Trade_17=0;
extern double  Trade_18=0;
extern double  Trade_19=0;
extern double  Trade_20=0;
extern int     Max_Trades=20;//maximum number of trades allowed
extern bool    Close_All_Max=false;//select true if you want ALL orders to close if Max_Trades is hit 
extern bool    Pyramid=true;//if true trades with trend, if false trades against trend
extern bool    Auto_Restart=true;//set to true if you want EA to re-start after each cycle
extern bool    Use_MA_Entry=false;//select true if you want moving average to decide starting direction
extern int     Next_Trade=20;//next trade pip increment if Use_MA_Entry =true  (will trade this many pips above OR below last order)
extern int     MA_Period=7;//moving average period for calculation
extern int     Timeframe=5;//timeframe used for MA calculation, 1=1m, 2=5m, 3=15m, 4=30m, 5=1h, 6=4h, 7=1d
extern bool    Use_Kayvan_Method=true;//select to use kayvan's method
extern int     Bar_Timeframe=5;//Bar Timeframe used to look back on, 1=1m, 2=5m, 3=15m, 4=30m, 5=1h, 6=4h, 7=1d
extern int     Bars_Look_Back=1;//number of bars looked back at from current bar for high and low
extern int     EntryLag_Long=2;//number of pips above high to enter trade(ADD YOUR OWN SPREAD)
extern int     EntryLag_Short=2;//number of pips below low to enter trade(ADD YOUR OWN SPREAD)
extern bool    Use_Trailing_Stop=true;//select true to use a trailing stop based on total $amount
extern double  Trail_Start=10;//TS will start after this $Profit amount is reached
extern double  TSLoss_Percent=50;//%Percentage of your HIGHEST profit you can lose before close all is performed   
extern bool    Close_By_Percent=false;//If true it will close by percent, if false it will close by Profit or Loss in $$
extern double  TP_Percent=5;//will take profit if profit is greater than percent of account balance (close all orders)
extern double  SL_Percent=10;//will stop loss if profit is less than percent of account balance (close all orders)
extern double  Close_By_Profit=5;//close if >= to this $ amount
extern double  Close_By_StopLoss=99999;//Amount of money to close all if lost
extern int     Slippage=5;//slippage for ordersend command
extern int     Number_Of_Tries=5;//Number of tries to send an OrderSend()command if not going through
extern bool    Sound_OrderSend=true;//if true a sound will be played when an order goes through 
I hope to be done soon. Are there any options I forgot?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #606 (permalink)  
Old 02-19-2008, 06:04 AM
ElectricSavant's Avatar
Senior Member
 
Join Date: Jun 2007
Posts: 3,354
ElectricSavant is on a distinguished road
well there was one...only enter when a kayvan entry exceeds its previous entry true or false

LastEntryFilter: default is true. (true means that the next entry must exceed the last entry accoording to if it is a pyramid or an average down choice in the above input. false means that the last entry is ignored and simply enters on the criteria)

Last edited by ElectricSavant; 02-19-2008 at 06:06 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #607 (permalink)  
Old 02-19-2008, 06:07 AM
sivach's Avatar
Senior Member
 
Join Date: Jun 2006
Posts: 108
sivach is on a distinguished road
Still.....................
Attached Images
File Type: gif cable.gif (50.0 KB, 145 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #608 (permalink)  
Old 02-19-2008, 06:08 AM
wolfe's Avatar
Senior Member
 
Join Date: Jan 2006
Posts: 818
wolfe is on a distinguished road
Quote:
Originally Posted by sivach View Post
It would be very nice if you also add a "sound - profit taken" or "sound - end of cycle" - just for fun -
And which wav sound do we want for this?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #609 (permalink)  
Old 02-19-2008, 06:10 AM
wolfe's Avatar
Senior Member
 
Join Date: Jan 2006
Posts: 818
wolfe is on a distinguished road
Quote:
Originally Posted by ElectricSavant View Post
well there was one...only enter when a kayvan entry exceeds its previous entry true or false

LastEntryFilter: default is true. (true means that the next entry must exceed the last entry accoording to if it is a pyramid or an average down choice in the above input. false means that the last entry is ignored and simply enters on the criteria)
Oh yeah! I knew there was something else! I'll do my best to include this option as well.

My brain is getting scrambled!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #610 (permalink)  
Old 02-19-2008, 06:10 AM
sivach's Avatar
Senior Member
 
Join Date: Jun 2006
Posts: 108
sivach is on a distinguished road
Thanks wolf, any wav sound of your choice is good enough.

Quote:
Originally Posted by wolfe View Post
And which wav sound do we want for this?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
Reply

Bookmarks

Tags
Baggio, best martingale ea, digitrend_gyro, ea martingale, forex martingale, grid martingale, martingale, martingale ea, martingale ea download, martingale ea forex, martingale expert advisor, martingale forex, Martingale mt4, tfx v1_8


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Martingale Trend EA criss73 Expert Advisors - Metatrader 4 8 11-20-2008 02:56 AM
Reversed martingale mrv Expert Advisors - Metatrader 4 6 07-26-2007 01:28 AM
Leverage for martingale frantacech Expert Advisors - Metatrader 4 0 05-22-2007 02:17 PM
Martingale EAs? icepeak Expert Advisors - Metatrader 4 5 01-18-2007 03:21 AM
Martingale EA newdigital Expert Advisors - Metatrader 3 2 05-23-2006 03:42 PM


All times are GMT. The time now is 02:16 AM.



Search Engine Friendly URLs by vBSEO 3.2.0 ©2008, Crawlability, Inc.