I have taken you example of using Indicator for buttons (very nice, thanks)
I am try to use the Case 3 to have a condition set in place of you SMA cross
compiied without errors, when I apply the button, it shows enabled, but when I get to the trigger part, the Buttons go away and the indicator I assume is disabled and I have and error in my Log tab
Error on Calling OnBarUpdate method on bar 1507. Object reference not se to an instance of an object
i try to add a BarsInProgress !=0 in the OnBarUpdate region but then got the error on click of the button, after removed, the error still occurs as soon as i click the button
THE OTHER ON MARKET BUTTON AND LIMIT ORDER BUTTONS STILL FUNCTION PROPERLY
Thanks

Comment