and gets a value in memory . Whenever the price is above the moving average, and the previous price has open and close on upper and lower to the moving average 100 , it stores the MA 100 value for the Bar in an array . The second indicator launches the confirmation and the buy order is sent . How to store the MA 100 for the most current bar where the price is above the MA 100 ? The expert has two choice : storing the indicated value or set it to 0 .
How to fix this ?
Thank you

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
I have tried this EA :
The EA indicates 500 after the 10th value . How to get the value of MA 100 stored for the last occurence of the Bar Shift on an array?will have to set this for the next EA