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
2011.04.29 20:40edit | delete
Hello!
Please, somebody can help me to define "High(iHighest)" more specificly?
The following I can find in this Forum:
double highestPriceAfterBuy = High[iHighest(NULL, 0, MODE_HIGH, iBarShift(NULL, 0, OrderOpenTime()), 0)];
I need the High(iHighest) after closing Order ID 1. So I think this should be:
double highestPriceAfterClose = High[iHighest(NULL, 0, MODE_HIGH, iBarShift(NULL, 0, OrderCloseTime()), 0)];
1. But how can I say, that MT4 has to check the OrderID in this frame?
2. How can I define the time periode more specificly? E.a. I would need "OrderCloseTime + 20 minutes"?
3. How could I say High(Highest) since a specific time, e.a. "18:34"?
Thank You very much for Your help!