iHighest from the open time to the current time.
Thank you. How do i set the last open time tho? Thats what i have been looking for.
I have Gotten this far.
double MFE;
double High[];
double Start;
Start=HistoryDealGetInteger(trans.deal,DEAL_ENTRY);
ArraySetAsSeries(High,true);
CopyHigh(_Symbol,PERIOD_M1,0,Start,High);
MFE= ArrayMinimum(High,0,Start);
Comment ("MFE: ",MFE);
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
Hi all!
I wanna search for the highest price since i opened my position.
https://www.youtube.com/watch?v=S7AiX4Qyvws
Like he is doing but from current price/candel to my last open price. Can anyone help?