Source: https://fxcodebase.com/code/viewtopic.php?f=38&t=71335
Forum: 38 · Topic 71335 · 7 post(s)
Apprentice · Thu Jul 08, 2021 11:18 am

Based on the request. https://fxcodebase.com/code/viewtopic.php?f=38&t=71324
Moving_Average_and_Price_crossover EA.mq4
baccicin · Fri Jul 16, 2021 1:45 pm
hello, I am afraid that the EA does not open the position considering the close of the previous candle. Would you have a chance to check please? I mean, for example, the current candle close above the high of the MA, the EA should open a long position when the new candle starts. The same for a short position, if the current candle close below the low of the MA, the EA should open the short position when the next candle starts. I hope not to create confusion due to my bad English… And also:
baccicin · Sun Jul 18, 2021 5:40 am
Hello, sorry, i need to change my mind, is it possible you convert this EA into a simple Indicator? Just one alert (sound and popup) and one arrow when
Apprentice · Mon Jul 19, 2021 6:03 am
Your request is added to the development list. Development reference 659.
Apprentice · Mon Jul 19, 2021 12:29 pm
I don’t understand why the second moving average is needed since it isn’t used
baccicin · Mon Jul 19, 2021 2:01 pm
hi, because i want to try the first move with the applied price and the second one with another applied price, combining them with a method for the first and another method for the second one. in the end it is a channel but I would like to try the various combinations in this way even if it may seem stupid I would like to try, for this reason I ask you to leave the boxes “free” so I can write the various parameters from time to time Thank you very much Ciao
Apprentice · Thu Jul 22, 2021 9:51 am

Moving_Average_and_Price_crossover.mq4
Try this version.