I am using the following code to draw a horzontal line when certain conditions are met.
ObjectCreate("linename", OBJ_HLINE, 0, Time[0], l_close_88, 0, 0);
The problem i am having is that the indi will only draw the line the first time the condition is met. After this it does not draw the line even if the condition is met. I think this is because the name is fixed.
How to program this so that the name can be unique everytime?
ObjectCreate("linename", OBJ_HLINE, 0, Time[0], l_close_88, 0, 0);
The problem i am having is that the indi will only draw the line the first time the condition is met. After this it does not draw the line even if the condition is met. I think this is because the name is fixed.
How to program this so that the name can be unique everytime?
bull in a china shop