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
It is easy, only two functions to use.
Draw the line on the chart, double click the line, give it a name, say : "line_up".
then in the EA look for the line : if( ObjectFind("line_up") > - 1 ) //line is found
Then, if( close[0] > ObjecGetValueByShift( "line_up",0 ) // mean line is touched with price going up
Check for exact formulation of fonction, (this is MT4)
thanks a lot, that's very helpful