Popular Post expat1967 Posted November 8, 2010 Popular Post Report Share Posted November 8, 2010 (edited) Well its getting to the point where I need to put a stop to it for now. As well having my mailbox full with inquiries, other EAs in the making, etc. I do need to focus and channel accordingly. Moving forward I do further develop Indo Run and will distribute/support to those who also supported/will support me considerably and/or I am colaborating with closer. Further Versions might follow in this thread, but will be delayed compared to what is available. Version Indo Run 1.4n (GPBUSD 15m including sample setfiles): http://www.multiupload.com/42IMCDENTD Version Indo Run 1.4o: http://www.multiupload.com/L9L6SIKIOK Setfile for Indo Run 1.4: Conservative: http://www.multiupload.com/X1TGMTVRUJ Setfile from Tomislav for Indo Run 1.4: http://www.multiupload.com/6WCEYAUPAD Update 16/11/2010: Version Indo Run 1.5: http://www.multiupload.com/SMEBG30U5T Setfile Indo Run 1.5: http://www.multiupload.com/JP3DN392XZ Detail Version Features/Changes are in the second post. Remark: Use the EA at your own risk! I won't be liable for any damage/loss occuring. http://www.myfxbook.com/widgets/64696/large.jpg Running since 14/11/2010 on 5k Demo / current version 1.7c General Recommendations: - Demo Test at least 4 weeks (longer is better) - Don't rely only on the provided Setfiles. The results will vary from Broker to Broker. Is it due to spreads, range or whatever... - Lower Spreads will as usual drive for a quicker basket closing but must not be an advantage towards the overall strategy. I have the EA running on Alpari and FXCM where Alpari is driving for a higher DD since trades are placed differently due to a different closing/opening... FXCM certainly does have higher spreads... Again, you need to find a setting for your Broker! - Understand the strategy and the settings/effects applied!!! (Check setting triggers/details in the mq4 file while opening in the editor) - Always use the News Filter standalone or in combination with other Filters!!! - Account Limits: 10k for 0.1Lot; 1k for 0.01Lot => Leverage as high as possible e.g. 1:400/500 / On a Leverage of 1:200 halfen the Lotsize or double the account - Don't trade month end/first. (can be set in the EA) - Don't trade ADP/NFP and Monday after NFP (can be set in the EA) - Use a SL per trade, consolidated StopOut or Stop trailing - Use Single Basket while getting started - Set your GMTOffset correctly - Newbies might reconsider using till the we have got more experience and set to confidence! Edited December 18, 2010 by expat1967 MyFxBook Settings & General recommendations paws, mackphatt, netzclown and 117 others 120 Quote Link to comment Share on other sites More sharing options...
expat1967 Posted November 8, 2010 Author Report Share Posted November 8, 2010 (edited) Version Log: Indo Run 1.4n //Change Log //Comment updated: Profit Target and Current Profit limited to 2 Digits //Added: AutoLotSize to determine Lotsize based on Account Balance (Account Balance/300*MinLots). Profit Target will adjust automatically to calculated Lotsize. //Added: Lotsize shown in Chart //Added: Session Filter to block out 2 sessions (to be used in correlation only!) //Bugfix: Read Magic Number from file. Now also printed in the Journal when read after startup of the EA. Read Magic Number from File only when Random Magic Number is used. //Added: ADVOffsetMode to place Pending Orders either on the current Bid/Ask Price (false) or on the last Buy/Sell Price if a order basket is open (true) //Added: Random Magic Number is not changed/written/read in Tester //Bugfix: Minor Bugs fixed //Bugfix: ATR Filter Indicator Call/Variables changed for more adjustment options (Period/Shift) //Added: ATR Pips have been removed and now calling IATR directly //Modified: IATR Filter Logics and permanent scanning //Bugfix: Close All Trades changed not to allow to open pending orders once active //Added: GMTOffset => Times preset now in GMT //Added: Advanced Total Profit Mode and revised Total Profit Calculation //Added: Martingale Option //Added: News Filter Option //Added: CCI Filter Option //Added: Momentum Filter Option //Added: RSI Filter Option //Added: MA Filter Option //Bugfix : Money Mangement to calculate accurate //Added: Month End and 1st Day of the Month Filter //Added: ATR Profit (Sets the Total Profit to the set ATRProfit amount if ATR is Filtering while Trades are open) //Changed Filters call to bool for more safety //Changed calls checking on open orders to bool for safety //BugFix: Pending Order Sequence fixed while after sell/buy closing a Pending Order was opened and deleted //BugFix: OrderSize does not change while exiting Asian Session in Double Lot Mode //Added: 10k LotSize Mode which will increase the Lotsize in 0.1 step any 10K Account Balance //Added: ATRPipsToStep and ATRStepOn //Added: Double/Triple Basket Option Added //Added: StepFactor which increases the Step on per Order opened //Added: Dynamic Profit //Added: Trade Context Alarm and Email //Known Bugs********************************************************************************************************************** //Random Magic Number is not loaded from file while the EA is reinitilized e.g. while settings have been changed on the chart... //ToDo**************************************************************************************************************************** //ToDo: Change MA Filter to Crossover (or Option) Fast/Slow MA //ToDo: Set other Filters and try different rules Indo Run 1.4o //Change Log //Added while (!IsTradeAllowed()) Sleep(100); to Order Functions //Known Bugs********************************************************************************************************************** //Random Magic Number is not loaded from file while the EA is reinitilized e.g. while settings have been changed on the chart... //ToDo**************************************************************************************************************************** //ToDo: Change MA Filter to Crossover (or Option) Fast/Slow MA //ToDo: Set other Filters and try different rules //ToDo: Continue Basket Sequence //ToDo: Log for Account Details/Errors //ToDo: Link Spreadon on trade opened to adjust profit Version 1.5 Change Log: //Removed: Trade Context Alarm/Email //Changed: "Redundant" Order Functions have been merged //BugFix: Slippage set to 4/5 Digits Support //Changed: ATR Filter enhanced with MathRound(IATR....) //Added: Trade NFP Filter Option //Added: Trade ADP NFP Filter Option //Added: Trade Reversal/Hedging (to be enhanced...) //Added: February Filter for Month End Trading (29 - Offset) //Changed: PO Order / Deleting Sequence //Added: Breakeven and Trailing Profit (Stop to negative Profit)from a Certain Draw Down Point onwards //Added: Envelopes Filter Option //Removed: FFCAL based News Filter //Added: TSD News Filter (Thanks to odrisb) //Known Bugs********************************************************************************************************************** //Known Bug: Random Magic Number is not loaded from file while the EA is reinitilized e.g. while settings have been changed on the chart... //Recommendation: Leave ADVOffsetMode to false as the EA can't place pending orders if the Market starts ranging and the Order might be to close to the price // and therefore might return an Error not placing an Order //ToDo**************************************************************************************************************************** //ToDo: Change MA Filter to Crossover (or Option) Fast/Slow MA / Method //ToDo: Set other Filters and try different rules //ToDo: Continue Basket Sequence //ToDo: Log for Account Details/Errors //Hedging Function //ToDo: Link Spreadon on trade opened to adjust profit //ToDo: Trade/Filter Timeout to avoid frequent PO placing/deleting while Filter toggles //ToDo: High/Low Filter to be implemented //ToDo: Enhance Trade Management Options //Todo: Check Multi Basket Mode PO Placing //ToDo: Option to combine Basket Profits from a certain Draw Down Point onwards //ToDo: Failsafe codings Edited November 26, 2010 by expat1967 Log for Version 1.5 added sidecona, stovedude, swordfish and 11 others 14 Quote Link to comment Share on other sites More sharing options...
tomislav Posted November 8, 2010 Report Share Posted November 8, 2010 (edited) I've put it onto a demo and after looking at the parameters all I can say is wow! I like how you put the ATR uplimit 3 and downlimit 3 back to 26 and 24. Works better. Are all the new filters meant to be run each on their own and separately or would it be possible to run ATR filtering in conjunction with RSI filtering for example? Is this a learn as we go experience? Edited November 8, 2010 by tomislav Quote Link to comment Share on other sites More sharing options...
expat1967 Posted November 8, 2010 Author Report Share Posted November 8, 2010 I've put it onto a demo and after looking at the parameters all I can say is wow! I like how you put the ATR uplimit 3 and downlimit 3 back to 26 and 24. Works better. Are all the new filters meant to be run each on their own and separately or would it be possible to run ATR filtering in conjunction with RSI filtering for example? Is this a learn as we go experience? Yes, you can combine filters. Just play with the settings and make sure to understand the changes ;) tomislav 1 Quote Link to comment Share on other sites More sharing options...
tomislav Posted November 8, 2010 Report Share Posted November 8, 2010 Yes thank you. Another question (surprise)... the momentum filter. Would it be fair to presume that this is designed to filter when GBPUSD is moving to fast (when it decides to ambush you) or to put it more simply a volatility filter. What is the momentum filter supposed to filter? mrcrow 1 Quote Link to comment Share on other sites More sharing options...
expat1967 Posted November 8, 2010 Author Report Share Posted November 8, 2010 Yes thank you. Another question (surprise)... the momentum filter. Would it be fair to presume that this is designed to filter when GBPUSD is moving to fast (when it decides to ambush you) or to put it more simply a volatility filter. What is the momentum filter supposed to filter? All filters beside ATR are currently set to simplicity or call it distance/movement. Thats where I mentioned in the first post where we can hook up, but check it out how good the simple setup is driving actually. Cheers Quote Link to comment Share on other sites More sharing options...
expat1967 Posted November 8, 2010 Author Report Share Posted November 8, 2010 Example from just now on the Broker differences below. Filter Settings are the same. FXCM ATR not filtering: http://img827.imageshack.us/img827/6940/fxcm.jpg Alpari UK ATR filtering: http://img87.imageshack.us/img87/2268/alpari.jpg An other thing I noticed since Indo Run has a Tick Counter. Alpari UK has double the Ticks then FXCM and more than some others I have tried briefly. FXCM has up to double the spread then Alpari, but still it drives more profitable esp. when it comes to break even. A matter of ticks? Lets not make this a broker discussion though. I will make a tick counter indicator ;) Cheers Quote Link to comment Share on other sites More sharing options...
tomislav Posted November 8, 2010 Report Share Posted November 8, 2010 For the sake of simplicity and not wanting to pester you is there any chance of getting a manual (word document file?) on the parameters? Eg ATR period 1,2,3 Price Offest 1,2,3 etc. I think you know what I mean. Quote Link to comment Share on other sites More sharing options...
expat1967 Posted November 8, 2010 Author Report Share Posted November 8, 2010 (edited) For the sake of simplicity and not wanting to pester you is there any chance of getting a manual (word document file?) on the parameters? Eg ATR period 1,2,3 Price Offest 1,2,3 etc. I think you know what I mean. Check inside the MQ4 for time beeing: extern string Menu = "Indo Run Setup"; extern string EAName = ""; //Comment for your orders, you might better leave it empty ;) extern bool IndoRunLabelOn = false; //Switches Chart Label on/off extern string MagicNumber = "Random Magic will overide manual set Magic Number"; extern int Magic = 128738; //Order Magic Number extern bool UseRandomMagic = false; //Switches the Random Magic Number on/off extern int RandomMagicLower = 100000; //Sets the lower Magic Number boundry extern int RandomMagicUpper = 200000; //Sets the upper Magic Number boundry extern string DayFilter = "Select the days for Indo Run to trade"; extern bool Monday = true; // Selecting a day true/false will hold the EA off trading that day if no trades are open extern bool Tuesday = true; // Overides day filter if trades are open (Basket) extern bool Wednesday = true; extern bool Thursday = true; extern bool Friday = true; extern bool Saturday = true; extern bool Sunday = true; extern bool TradeMonthEnd = true; extern int MonthEndOffset = 3; //Offset to define the last trading day of a month (31 - Offset) extern bool TradeFirstDayOffMonth = true; extern int DayOffset = 0; //Per default the Offset is 0 thus the 1st of a month is filtered extern double GMTOffset = 1; extern string HourFilter = "Select the Trading Hours or set to 24h"; extern bool Trading24h = true; extern int HoursFrom = 10; //Start Trading Hour Broker Time (Standad Settings GMT), the EA overides time if trades are open (Basket) extern int HoursTo = 6; //Stop Trading Hour Broker Time Standard Setting GMT), the EA overides time if trades are open (Basket) extern string Session_Filter = "Only in 24 Mode: Use both Session Filter together only!"; extern string Session_Filter1 = "Filters per default London Session (GMT)!"; extern bool SessionFilter1 = false; //Session Filter Settings in GMT / Use only in combination with SessionFilter 2 extern double SF1Hour_On = 5; extern double SF1MinuteOn =45; extern double SF1Hour_Off = 9; extern double SF1MinuteOff = 0; extern string Session_Filter2 = "Filters per default NY Session (GMT)!"; extern bool SessionFilter2 = false; //Session Filter Settings in GMT / Use only in combination with SessionFilter 1 extern double SF2Hour_On = 11; extern double SF2MinuteOn =45; extern double SF2Hour_Off = 17; extern double SF2MinuteOff = 30; extern bool AvoidNews = false; //Switches News Filter on/off extern bool High_Impact=true; extern int MinsUntilNextHighNews=180; extern int MinsSincePrevHighNews=180; extern bool Medium_Impact=true; extern int MinsUntilNextMediumNews=90; extern int MinsSincePrevMediumNews=90; extern bool Low_Impact=false; extern int MinsUntilNextLowNews=60; extern int MinsSincePrevLowNews=60; extern string Info5 = "Main Order Setup"; extern string PAO = " ProfitAllOrder will calculate automatically while the Lotssize is changed!"; extern double ProfitAllOrder = 15; //Cumulated Sell Order Take Profit in Account Currency based on 0.1 Lotsize extern bool FixedProfitAO = false; // If true, ProfitAllOrder amount set will be used only/Have to be set to tru while using Martingale!!! extern bool ADVProfitMode = false; //Advanced Profit Modue which reduces the Profit Target on increasing opened Orders in the Basket extern bool ATRProfitMode = false; //This Mode will take the Profit (>=ATR Profit) while the ATR is Filtering on open trades extern double ATRProfit = 4; //This value does not adjusts automatically while the Lotsize is changed. extern bool ADVATRProfit = false; //Overrides ATRProfit set and will apply ProfitAllOrders/ADVATRProfitx extern double ADVATRProfitx = 3; //ProfitAllOrders/ADVATRProfitx extern bool DynamicProfit = false; //If true, when ProfitAllOrder limit is reached the profit will trail by the defined step extern double DynamicProfitStep = 1; //Inc of the ProfitAllOrder value int OpenOrdersLimit = 0; //Limits the number of open orders extern bool DeletePOMode = true; // Bug: if false Sell Open Orders are not registered and counted extern int SingleOrderSL = 0; //Stop Loss of each individual Order in Pips extern int SingleOrderTP = 0; //Take Profit of each individual Order in Pips extern bool ADVOffsetMode = false; //If false Pending Orders are placed on the current ASK/Bid Price extern bool ATRStepOn = false; //If true the step value/price offset is linked to the current ATRPips value extern bool ATRPipsToStep = false; //If true the ATRPips value will be used as Step/Price Offset extern int PriceOffset = -16; //Step/Gap in Pips where Pending Order is placed to current price basic extern bool StepFactorOn = false; //Factor which increases the Step per Order extern int StepFactor = 10; //ProfitOffset*(OrderCounter/StepFactor+1) extern int PriceOffset1 = 0; ////Step/PriceOffset added in Low Range ATR while ATRStepOn is set to true extern int PriceOffset2 = -1; //Step/PriceOffset added in Mid Range ATR while ATRStepOn is set to true extern int PriceOffset3 = -2; //Step/PriceOffset added in High Range ATR while ATRStepOn is set to true extern double Lot = 0.1; //Single Order Lotsize / If FixedProfitAO = false Profit Target will be calculated automatically to the Profit Target set on 0.1 base (0.1 Lot = 15$ standard setting) extern int Slippage=4; //Price Change in Pips allowed during Order Processing extern string AutomaticLots1 = "Automatic Lotsize based on Account Balance!"; extern string AutomaticLots2 = "ProfitAllOrder gets adjusted automatically!"; extern bool AutoLotSize = false; //Automatic Lotsize based on Account Balance (Account Balance/300*MinLots) extern double Risk = 2; //"Risk Factor on which the Lotsize increases extern double MinLots = 0.01; //minimum Lotsize only used when Autolotsize is activated extern bool KLotSize = false; // if true Lot Size will double every 10K+ extern bool DoubleLots = false; //Doubles the Lotsize in the Asian Session extern bool Martingale = false; //Need to set FixedProfitAO=true!!!! extern double LotFactor = 1.4; //Increasing Factor of Martingale Lotsize extern double MartingaleMaxLot = 0.5; //Limit of Losize of Martingale!!! extern bool DoubleBasket = false; //if true the EA will trade with two Order Baskets (First Basket opens Trade second Basket comes online in addition) extern bool TripleBasket = false; //if true the EA will trade with three Order Baskets (Second Basket opens Trade third Basket comes online in addition) extern string Timed_Stop = "Stops Trading and closes all trades at selected time of a day!"; extern bool TimedStop = false; //Switches Time to close all open orders once a day on/off extern int StopHour = 14; //Timed Stop Hour GMT extern int StopMinute = 0; //Timed Stop Minute extern string ATR_Filter = "ATR Filter selection and setup!"; extern bool ATROn = true; //Switches ATR Filter on/off extern bool FilterMod = false; extern int ATR_Period1 = 7; extern int ATR_Period2 = 7; extern int ATR_Period3 = 7; extern int ATRMode1 = 0; extern int ATRMode2 = 0; extern int ATRMode3 = 0; extern double ATRShift1 = 0.0; extern double ATRShift2 = 3.0; extern double ATRShift3 = 5.0; extern double ATRUpLimit1 = 13.0; extern double ATRDnLimit1 = 7.0; extern double ATRUpLimit2 = 21.0; extern double ATRDnLimit2 = 16.0; extern double ATRUpLimit3 = 26.0; extern double ATRDnLimit3 = 24.0; extern bool CCIFilterOn = false; extern double CCIPeriod1 = 14; extern double CCIPeriod2 = 14; extern double CCIShift1 = 0; extern double CCIShift2 = 5; extern double CCICurrentUp = 65; extern double CCICurrentDown = -65; extern double CCIPreviousUp = 75; extern double CCIPreviousDown = -75; extern bool MomentumFilterOn = false; extern double MomentumPeriod1 = 3; extern double MomentumPeriod2 = 3; extern double MomentumShift1 = 0; extern double MomentumShift2 = 3; extern double MomentumCurrentUp = 100.1; extern double MomentumCurrentDown = 99.9; extern double MomentumPreviousUp = 100.2; extern double MomentumPreviousDown = 99.8; extern bool RSIFilterOn = false; extern double RSIPeriod1 = 3; extern double RSIPeriod2 = 3; extern double RSIShift1 = 0; extern double RSIShift2 = 3; extern double RSICurrentUp = 51; extern double RSICurrentDown = 49; extern double RSIPreviousUp = 53; extern double RSIPreviousDown = 47; extern bool DeletePOATR = true; // Switch to delete all pending orders while ATR is active extern bool DeleteOrderATR = false; // Switch to close all open orders while ATR is active (disabled due to current strategy set extern bool ApplyTradeContext=true; //Activates TradeContext is busy Alert extern bool TradeContextEmail=false; //Send email if Trade Context is busy extern string Stop_Out = "Closes all trades in basket on cummulated Profit/Loss!"; extern bool LossStopOutOn = false; //Switches Cumulated Loss Stop Out On on/off extern int LossStopOut = -5000; // Cumulated Loss in Account Currency which will close all open orders extern string CAT = "!!!Closes all trades in basket when true!!!"; extern bool CloseAllTrades = false; // Closes all open orders Edited November 15, 2010 by scarface tomislav and pro 2 Quote Link to comment Share on other sites More sharing options...
pro Posted November 8, 2010 Report Share Posted November 8, 2010 Great EA! For which CCY pairs is the basket set.file supposed to? Quote Link to comment Share on other sites More sharing options...
greentrader Posted November 8, 2010 Report Share Posted November 8, 2010 Check inside the MQ4 for time beeing: extern string Menu = "Indo Run Setup"; extern string EAName = ""; //Comment for your orders, you might better leave it empty ;) extern bool IndoRunLabelOn = false; //Switches Chart Label on/off extern string MagicNumber = "Random Magic will overide manual set Magic Number"; extern int Magic = 128738; //Order Magic Number extern bool UseRandomMagic = false; //Switches the Random Magic Number on/off extern int RandomMagicLower = 100000; //Sets the lower Magic Number boundry extern int RandomMagicUpper = 200000; //Sets the upper Magic Number boundry extern string DayFilter = "Select the days for Indo Run to trade"; extern bool Monday = true; // Selecting a day true/false will hold the EA off trading that day if no trades are open extern bool Tuesday = true; // Overides day filter if trades are open (Basket) extern bool Wednesday = true; extern bool Thursday = true; extern bool Friday = true; extern bool Saturday = true; extern bool Sunday = true; extern bool TradeMonthEnd = true; extern int MonthEndOffset = 3; //Offset to define the last trading day of a month (31 - Offset) extern bool TradeFirstDayOffMonth = true; extern int DayOffset = 0; //Per default the Offset is 0 thus the 1st of a month is filtered extern double GMTOffset = 1; extern string HourFilter = "Select the Trading Hours or set to 24h"; extern bool Trading24h = true; extern int HoursFrom = 10; //Start Trading Hour Broker Time (Standad Settings GMT), the EA overides time if trades are open (Basket) extern int HoursTo = 6; //Stop Trading Hour Broker Time Standard Setting GMT), the EA overides time if trades are open (Basket) extern string Session_Filter = "Only in 24 Mode: Use both Session Filter together only!"; extern string Session_Filter1 = "Filters per default London Session (GMT)!"; extern bool SessionFilter1 = false; //Session Filter Settings in GMT / Use only in combination with SessionFilter 2 extern double SF1Hour_On = 5; extern double SF1MinuteOn =45; extern double SF1Hour_Off = 9; extern double SF1MinuteOff = 0; extern string Session_Filter2 = "Filters per default NY Session (GMT)!"; extern bool SessionFilter2 = false; //Session Filter Settings in GMT / Use only in combination with SessionFilter 1 extern double SF2Hour_On = 11; extern double SF2MinuteOn =45; extern double SF2Hour_Off = 17; extern double SF2MinuteOff = 30; extern bool AvoidNews = false; //Switches News Filter on/off extern bool High_Impact=true; extern int MinsUntilNextHighNews=180; extern int MinsSincePrevHighNews=180; extern bool Medium_Impact=true; extern int MinsUntilNextMediumNews=90; extern int MinsSincePrevMediumNews=90; extern bool Low_Impact=false; extern int MinsUntilNextLowNews=60; extern int MinsSincePrevLowNews=60; extern string Info5 = "Main Order Setup"; extern string PAO = " ProfitAllOrder will calculate automatically while the Lotssize is changed!"; extern double ProfitAllOrder = 15; //Cumulated Sell Order Take Profit in Account Currency based on 0.1 Lotsize extern bool FixedProfitAO = false; // If true, ProfitAllOrder amount set will be used only/Have to be set to tru while using Martingale!!! extern bool ADVProfitMode = false; //Advanced Profit Modue which reduces the Profit Target on increasing opened Orders in the Basket extern bool ATRProfitMode = false; //This Mode will take the Profit (>=ATR Profit) while the ATR is Filtering on open trades extern double ATRProfit = 4; //This value does not adjusts automatically while the Lotsize is changed. extern bool ADVATRProfit = false; //Overrides ATRProfit set and will apply ProfitAllOrders/ADVATRProfitx extern double ADVATRProfitx = 3; //ProfitAllOrders/ADVATRProfitx extern bool DynamicProfit = false; //If true, when ProfitAllOrder limit is reached the profit will trail by the defined step extern double DynamicProfitStep = 1; //Inc of the ProfitAllOrder value int OpenOrdersLimit = 0; //Limits the number of open orders extern bool DeletePOMode = true; // Bug: if false Sell Open Orders are not registered and counted extern int SingleOrderSL = 0; //Stop Loss of each individual Order in Pips extern int SingleOrderTP = 0; //Take Profit of each individual Order in Pips extern bool ADVOffsetMode = false; //If false Pending Orders are placed on the current ASK/Bid Price extern bool ATRStepOn = false; //If true the step value/price offset is linked to the current ATRPips value extern bool ATRPipsToStep = false; //If true the ATRPips value will be used as Step/Price Offset extern int PriceOffset = -16; //Step/Gap in Pips where Pending Order is placed to current price basic extern bool StepFactorOn = false; //Factor which increases the Step per Order extern int StepFactor = 10; //ProfitOffset*(OrderCounter/StepFactor+1) extern int PriceOffset1 = 0; ////Step/PriceOffset added in Low Range ATR while ATRStepOn is set to true extern int PriceOffset2 = -1; //Step/PriceOffset added in Mid Range ATR while ATRStepOn is set to true extern int PriceOffset3 = -2; //Step/PriceOffset added in High Range ATR while ATRStepOn is set to true extern double Lot = 0.1; //Single Order Lotsize / If FixedProfitAO = false Profit Target will be calculated automatically to the Profit Target set on 0.1 base (0.1 Lot = 15$ standard setting) extern int Slippage=4; //Price Change in Pips allowed during Order Processing extern string AutomaticLots1 = "Automatic Lotsize based on Account Balance!"; extern string AutomaticLots2 = "ProfitAllOrder gets adjusted automatically!"; extern bool AutoLotSize = false; //Automatic Lotsize based on Account Balance (Account Balance/300*MinLots) extern double Risk = 2; //"Risk Factor on which the Lotsize increases extern double MinLots = 0.01; //minimum Lotsize only used when Autolotsize is activated extern bool KLotSize = false; // if true Lot Size will double every 10K+ extern bool DoubleLots = false; //Doubles the Lotsize in the Asian Session extern bool Martingale = false; //Need to set FixedProfitAO=true!!!! extern double LotFactor = 1.4; //Increasing Factor of Martingale Lotsize extern double MartingaleMaxLot = 0.5; //Limit of Losize of Martingale!!! extern bool DoubleBasket = false; //if true the EA will trade with two Order Baskets (First Basket opens Trade second Basket comes online in addition) extern bool TripleBasket = false; //if true the EA will trade with three Order Baskets (Second Basket opens Trade third Basket comes online in addition) extern string Timed_Stop = "Stops Trading and closes all trades at selected time of a day!"; extern bool TimedStop = false; //Switches Time to close all open orders once a day on/off extern int StopHour = 14; //Timed Stop Hour GMT extern int StopMinute = 0; //Timed Stop Minute extern string ATR_Filter = "ATR Filter selection and setup!"; extern bool ATROn = true; //Switches ATR Filter on/off extern bool FilterMod = false; extern int ATR_Period1 = 7; extern int ATR_Period2 = 7; extern int ATR_Period3 = 7; extern int ATRMode1 = 0; extern int ATRMode2 = 0; extern int ATRMode3 = 0; extern double ATRShift1 = 0.0; extern double ATRShift2 = 3.0; extern double ATRShift3 = 5.0; extern double ATRUpLimit1 = 13.0; extern double ATRDnLimit1 = 7.0; extern double ATRUpLimit2 = 21.0; extern double ATRDnLimit2 = 16.0; extern double ATRUpLimit3 = 26.0; extern double ATRDnLimit3 = 24.0; extern bool CCIFilterOn = false; extern double CCIPeriod1 = 14; extern double CCIPeriod2 = 14; extern double CCIShift1 = 0; extern double CCIShift2 = 5; extern double CCICurrentUp = 65; extern double CCICurrentDown = -65; extern double CCIPreviousUp = 75; extern double CCIPreviousDown = -75; extern bool MomentumFilterOn = false; extern double MomentumPeriod1 = 3; extern double MomentumPeriod2 = 3; extern double MomentumShift1 = 0; extern double MomentumShift2 = 3; extern double MomentumCurrentUp = 100.1; extern double MomentumCurrentDown = 99.9; extern double MomentumPreviousUp = 100.2; extern double MomentumPreviousDown = 99.8; extern bool RSIFilterOn = false; extern double RSIPeriod1 = 3; extern double RSIPeriod2 = 3; extern double RSIShift1 = 0; extern double RSIShift2 = 3; extern double RSICurrentUp = 51; extern double RSICurrentDown = 49; extern double RSIPreviousUp = 53; extern double RSIPreviousDown = 47; extern bool DeletePOATR = true; // Switch to delete all pending orders while ATR is active extern bool DeleteOrderATR = false; // Switch to close all open orders while ATR is active (disabled due to current strategy set extern bool ApplyTradeContext=true; //Activates TradeContext is busy Alert extern bool TradeContextEmail=false; //Send email if Trade Context is busy extern string Stop_Out = "Closes all trades in basket on cummulated Profit/Loss!"; extern bool LossStopOutOn = false; //Switches Cumulated Loss Stop Out On on/off extern int LossStopOut = -5000; // Cumulated Loss in Account Currency which will close all open orders extern string CAT = "!!!Closes all trades in basket when true!!!"; extern bool CloseAllTrades = false; // Closes all open orders Are you testing this EA on 15m TF or 1H TF? Thanks Quote Link to comment Share on other sites More sharing options...
Znake Posted November 8, 2010 Report Share Posted November 8, 2010 Thanks for this great share. I will test the EA the next day. May we open a new thread in the backtest section for this EA to post the backtest results ?! Quote Link to comment Share on other sites More sharing options...
expat1967 Posted November 9, 2010 Author Report Share Posted November 9, 2010 I am currently using GBPUSD 15m. Yes, will up some backtests. Cheers Quote Link to comment Share on other sites More sharing options...
greentrader Posted November 9, 2010 Report Share Posted November 9, 2010 I am currently using GBPUSD 15m. Yes, will up some backtests. Cheers Thanks alot for your reply Quote Link to comment Share on other sites More sharing options...
frederic Posted November 9, 2010 Report Share Posted November 9, 2010 Last night started demo test on FXDD mini good start will keep you informed Quote Link to comment Share on other sites More sharing options...
Stormin_Norman Posted November 9, 2010 Report Share Posted November 9, 2010 http://img695.imageshack.us/img695/1525/indorungbpusd1h6months2.gif 6 month test GBPUSD 1h DD=41% Quote "It is inconceivable that anyone will divulge a truly effective get-rich scheme for the price of a book." Victor Niederhoffer (1943–), US hedge fund manager and statistician Link to comment Share on other sites More sharing options...
expat1967 Posted November 9, 2010 Author Report Share Posted November 9, 2010 http://img695.imageshack.us/img695/1525/indorungbpusd1h6months2.gif 6 month test GBPUSD 1h DD=41% Can you post your setfile pls. to see what was done and where to trigger, Cheers Quote Link to comment Share on other sites More sharing options...
Znake Posted November 9, 2010 Report Share Posted November 9, 2010 Last night started demo test on FXDD mini good start will keep you informed Can you please post a statement link? Quote Link to comment Share on other sites More sharing options...
Stormin_Norman Posted November 9, 2010 Report Share Posted November 9, 2010 Can you post your setfile pls. to see what was done and where to trigger, Cheers It was default settings. GBPUSD 1 hour. Quote "It is inconceivable that anyone will divulge a truly effective get-rich scheme for the price of a book." Victor Niederhoffer (1943–), US hedge fund manager and statistician Link to comment Share on other sites More sharing options...
tomislav Posted November 10, 2010 Report Share Posted November 10, 2010 Hi Expat within the parameters there are ATR Mode1, ATR Mode 2, ATR Mode3. They are set to 0 by default. What other options do I have and what do the other options mean? mrcrow 1 Quote Link to comment Share on other sites More sharing options...
expat1967 Posted November 10, 2010 Author Report Share Posted November 10, 2010 Hi Expat within the parameters there are ATR Mode1, ATR Mode 2, ATR Mode3. They are set to 0 by default. What other options do I have and what do the other options mean? I used ATRMode in prior versions. Currently its empty/no function. For the other features you might check below: double iATR( string symbol, int timeframe, int period, int shift) Calculates the Indicator of the average true range and returns its value. Parameters: symbol - Symbol the data of which should be used to calculate indicator. NULL means the current symbol. timeframe - Timeframe. It can be any of Timeframe enumeration values. 0 means the current chart timeframe. period - Averaging period for calculation. shift - Index of the value taken from the indicator buffer (shift relative to the current bar the given amount of periods ago). ATRPips =iATR(Symbol(),PERIOD_M15,ATR_Period1,ATRShift1) / point; ATRPrePips1 =iATR(Symbol(),PERIOD_M15,ATR_Period2,ATRShift2) / point; ATRPrePips2 =iATR(Symbol(),PERIOD_M15,ATR_Period3,ATRShift3) / point; Cheers tomislav 1 Quote Link to comment Share on other sites More sharing options...
expat1967 Posted November 10, 2010 Author Report Share Posted November 10, 2010 I have been running on demo on GBPUSD M15. I get frequent trade context busy" warnings. I think it is when The limit orders are being placed. Is this a bug or is it possible to place a slight delay in between the two orders? I am working on the trade context issue. Its delicate to catch since sometimes its appearing and others dont have issues at all. When do you get this problem? I saw it mainly straight after starting up. Once running it appears stable. Cheers Quote Link to comment Share on other sites More sharing options...
expat1967 Posted November 10, 2010 Author Report Share Posted November 10, 2010 Forward Test 1st November onwards, Multi Basket/ATR/24hr Still a bit to bumpy though and 5k balance is pretty tight. http://img152.imageshack.us/img152/5807/indorunmultibasket.gif Gross Profit: 1 678.74 Gross Loss: 726.80 Total Net Profit: 951.94 Profit Factor: 2.31 Expected Payoff: 9.71 Absolute Drawdown: 0.00 Maximal Drawdown: 170.60 (2.88%) Relative Drawdown: 2.88% (170.60) Total Trades: 98 Short Positions (won %): 27 (74.07%) Long Positions (won %): 71 (61.97%) Profit Trades (% of total): 64 (65.31%) Loss trades (% of total): 34 (34.69%) Largest profit trade: 141.48 loss trade: -85.80 Average profit trade: 26.23 loss trade: -21.38 Maximum consecutive wins ($): 6 (123.80) consecutive losses ($): 5 (-170.60) Maximal consecutive profit (count): 412.60 (5) consecutive loss (count): -170.60 (5) Average consecutive wins: 3 consecutive losses: 2 Quote Link to comment Share on other sites More sharing options...
tomislav Posted November 10, 2010 Report Share Posted November 10, 2010 (edited) Well gents Indo run 1.4 without filters placed trades at the opening of today's GBPUSD news event and they're hanging in the sky. Indo Run 1.4N with momentum and RSI filters on didn't open any trades. A step in the right direction. This is to test against unannounced price hikes because they do happen and they usually don't make you happy ~X( Edited November 10, 2010 by tomislav mrcrow and FXstoney 2 Quote Link to comment Share on other sites More sharing options...
expat1967 Posted November 10, 2010 Author Report Share Posted November 10, 2010 For me it appears to happen on the fifteen minute mark when it tries to place the two limit orders. When I fisrt start up it seems to work as designed. I think some sort of pause between the two limit orders might resolve this problem. Ok will try. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.