if new day { sawCondition1=false; sawCondition2=false;... }
if condition1 sawCondition1=true;
if condition2 sawCondition2=true; ...
if sawCondition1 && sawCondition2 ..
if condition1 sawCondition1=true;
if condition2 sawCondition2=true; ...
if sawCondition1 && sawCondition2 ..
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
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 im still having trouble getting my head round it.
Thanks for any help.