Hi Markus,
Please check out the updated AllAveragesCrossover Tester for the new MT4.
Attachment 7750
Regards,
Igor
This is a discussion on AllAveragesCrossover within the Trading tools forums, part of the Trading Forum category; Originally Posted by Markus Hello igorad, Is it possible to update your AllAveragesCrossover tester to work on the new MT4 ...
Hi Markus,
Please check out the updated AllAveragesCrossover Tester for the new MT4.
Attachment 7750
Regards,
Igor
Thanks Igorad
Very useful tool!
Thanks
Igorad, is it possible to have an AllAverageCrossover Histo (when FastMA > SlowMA, 1 color, and when FastMA < SlowMA, another color) ? Thank you in advance.
Hi,
Please check out the updated AllAveragesCrossover indicator for the new MT4.
Attachment 10176
Regards,
Igor
Hi pellingrini45,
Please check out the AllAveragesCrossoverTrader EA with ability to use the percent StoplLoss/TakeProfit(StopLossMode=2,TakeProfitMode=2).
Attachment 10601Code://---- input parameters extern string Expert_Name = "AllAveragesCrossoverTrader_v1.0 600+"; extern int Magic = 1010; // Magic Number extern int Slippage = 3; // Slipage in pips extern string slInputs = "===== StopLoss settings: ====="; extern int StopLossMode = 0; // StopLoss Mode:0-off,1-in pips,2-in % of Price extern double StopLoss = 50; // StopLoss (in pips or %) extern int HideStopLoss = 0; // Hidden StopLoss in pips extern string tpInputs = "===== TakeProfit settings: ====="; extern int TakeProfitMode = 0; // TakeProfit Mode:0-off,1-in pips,2-in % of Price extern double TakeProfit = 100; // TakeProfit (in pips or %) extern string trInputs = "===== Trailing Stop & Breakeven settings: ====="; extern double TrailStop = 15; // Trailing Stop in pips extern double TrailStopStep = 15; // Trailing Stop Step in pips extern double BreakEven = 50; // Breakeven in pips extern double PipsLockIn = 5; // Profit Lock in pips if Breakeven is achieved extern string ptcInputs = "===== Partial Close settings: ====="; extern double PartCloseTgt = 50; // Partial Close Target in pips extern double PartClosePct = 50.0; // Partial Close Position Percent extern string Time_Inputs = "===== Timing settings: ====="; extern int MainTimeFrame = 0; // Time Frame in min(0-current,-1-each tick mode) extern int TimeFilterMode = 0; // Time Filter Mode:0-off,1-on extern int StartHour = 0; // Start Hour of Trade Session extern int StartMinute = 0; // Start Minute of Trade Session extern int EndHour = 23; // End Hour of Trade Session extern int EndMinute = 59; // End Hour of Trade Session extern int MonStartHour = 0; // Monday Start Hour of Trade Session extern int MonStartMinute = 0; // Monday Start Minute of Trade Session extern int FriEndHour = 22; // Friday End Hour of Trade Session extern int FriEndMinute = 59; // Friday End Hour of Trade Session extern int TradeDay = -1; // Trade Day of Week (ex.1-Monday,-1-all Days) extern int NonTradeDay = 0; // Non-Trading Day of Week (ex.5-Friday) extern string avgInputs = "===== AllAverages Crossover settings: ====="; extern int avgTimeFrame = 0; // TimeFrame in min extern int avgFastPrice = 0; // Fast MA Price(0...10) extern int avgFastPeriod = 10; // Fast MA Period extern int avgFastMethod = 0; // Fast MA Method(0...26) extern int avgSlowPrice = 0; // Slow MA Price(0...10) extern int avgSlowPeriod = 20; // Slow MA Period extern int avgSlowMethod = 0; // Slow MA Method(0...26) extern int avgShift = 1; // AllAverages Shift:0-current bar,1-previous bar extern int avgMode = 1; // Entry Mode: 0-off,1-crossover,2-crossover+fast ma direction extern int avgExitMode = 1; // Exit Mode: 0-off,1-on extern string addInputs = "===== Additional settings: ====="; extern int DebugMode = 1; // Debug mode:0-off;1-on extern int CommentMode = 1; // Comment Mode:0-off,1-on extern int ECN_Mode = 1; // ECN Mode:0-off,1-on extern int DrawTarget = 1; // Draw Target:0-off,1-on extern string mmInputs = "===== Money Management settings: ====="; extern int MM_Mode = 1; // MM Mode: 0-off,1-by free Margin,2-by StopLoss extern double Lots = 0.1; // Lot size extern double RiskFactor = 0; // Risk Factor(in decimals) for MM formula extern double MaxLots = 0; // Max Lot Size
Regards,
Igor
Premium Trading Forum: subscription, public discussion and latest news
Trading Forum wiki || MQL5 channel for the forum
Trading blogs || My blog
Bookmarks