I tested it, (compiled and worked fine), then I did my best to use it to create two buttons, one to suppress the execution of longs, and one to suppress the execution of shorts.
The code compiles without errors, and works with one problem. Of the two buttons, only one changes it's value when pressed, and when it does, it changes the value of both buttons. So one button doesn't work, and the other button changes the state of both buttons.
I'm uploading both strategies, the orginal called "Chart Buttons", and my modified strategy called, "STPOTradeWithButtons".
I'm sure I have some weird logic error but since I don't really know much about the ToolStripButton function and can't find any documentation on it in the help documentation, perhaps you can point me to a correction for this?
Thanks
DaveN
Comment