Sent this yesterday not sure if it got missed?
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
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.516 / Virus Database: 269.21.4/1313 - Release Date: 3/5/2008 9:50 AM
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.516 / Virus Database: 269.21.4/1313 - Release Date: 3/5/2008 9:50 AM
|