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,
It is my first post.
I want to ask, how I can draw line that shows highest for example High value since last order.
I calculate this value in EA this way:
double max_high()
{
double val = 0;
datetime dt = OrderOpenTime();
int higst = 0;
int shift = iBarShift(NULL,sh+0, dt );
higst = iHighest(NULL,0,MODE_HIGH,shift,sh+1);
val=High[higst];
FileWrite( handle, " ", "Date: ", dt, " shift: ", shift, " iHighest: ", higst, " val: ", val );
return (val);
}
It is possible to draw line that shows max_high values?
Miso