reading manual/visual indicators into EA

 

HI, iv been looking through the documentation and i may have missed the section, i want to manually/visually add support, resistance & trend lines and the EA to pick up on it.

what is the best approach?

Thanks

 
If you have existing indicators that you want to use with an EA read up on iCustom
 

Thanks RaptorUK, thats not quite what im looking for.

i want a semi automated system. meaning i want to be able to manually place support/resistance, trendlines etc then have the EA read these in and work with them.

support and resitance would be easy as i could just have an ext variable and put a number in, what gets hard is trenlines which change value depending on the time. i want to be able to manually add in a trend line on the chart..

 

Ah . . I see. Not difficult to do . . .

For SR you can use Horizontal lines or non-rayed trendlines . . . for trends you would use trendlines . . . there is a function you can use to get values along the trendline . . . ObjectgetValueByShift

For horizontal lines you can use ObjectGet to get it's price value

Reason: