Forum

Auto Click a Yes or No box

I have an EA, that I do not have the code for. It pops up a box with a yes or no question. Is there a way I can automate the clicking of the yes or no button

Maintain value for drawdown after changing input

I have this code, which I'm must trying to show the daily drawdown. It generally works, but if the user goes in to change an input value, it resets the drawdown value. How can I get it to maintain the drawdown value? //+------------------------------------------------------------------+ //|

Persistent Variable After Input CHange

I have an indicator that tracks max drawdown during the day. I have it displayed on the chart with a text object . Problem is, that if the user changes an input in the indicator (to move the text to a different corner), I have to delete the text object and then it loses it's value. How can I create

Text object - text disappears on input change

I have the following code to display a text object on the chart: int OnInit () { ObjectCreate ( "asb_label" , OBJ_LABEL , 0 , 0 , 0 ); ObjectSetText( "asb_label" , "Account Starting Balance" , 9 , "Consolas" , Black); ObjectSet( "asb_label" , OBJPROP_CORNER , 0 ); ObjectSet( "asb_label"