Hi Tomasz,
I was looking at the code regarding broken trend lines and was
wondering if I could use a command button to create an extended ray on a chart.
It could just place it in the middle of the chart. I would also want to have
code associated with it and reference the IBcontroller to place a trade:
sell = cross( study ( “SU” ), close, GetID()
); I am assuming the code hasn’t changed for trend line cross
detection.
Obviously I am missing a lot of pcs, any hints you can give
would be appreciated.
My ultimate goal would be to have command buttons to go short
and long and associated with each one would be an entry trend line, a stop
trend line and a target trend line. With one click on a button the 3
trend lines are placed on the chart, I would be able to drag them where
appropriate and then arm them.
Thanks for your time,
Bruce