
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
Lets say at 1pm a moving averages hits 1.500 then at 2pm it hits 1.600 then for the rest of the day it goes back to 1.500.
is there anyway i can store that the info had once reached 1.600?
The strategy im using consists of three different events happening but not necessarily at the same time. I just want MT to store that the event happened. if the event occurs i need to return "true" and keep it that way for the rest of the day regardless if the event changes.
I would like to open an order when i have my 3 "trues" so to speak.
I believe static variables are a good route but I have not seen any working examples.
Thanks for any help.