why OBJ_ARROW_DOWN is reversed ?!!
Hi every body
I've wrote this code
But the result is :
Please guide me how to make it's direction downward arrow?
and somewhere else in your code you create OBJ_ARROW_UP ? which is probably what you are seeing.
look at the objects list on the chart and see if your "Close_Line" exists and what its details are....
and somewhere else in your code you create OBJ_ARROW_UP ? which is probably what you are seeing.
look at the objects list on the chart and see if your "Close_Line" exists and what its details are....
if(Close_0 > MA_0+10*_Point) { ObjectCreate(0,"Close_Line",OBJ_ARROW_UP,0,Time_0,Close_0); ObjectSetInteger(0,"Close_Line",OBJPROP_COLOR,clrBlue); ObjectSetInteger(0,"Close_Line",OBJPROP_WIDTH,2); } else if(Close_0 < MA_0-10*_Point) { ObjectCreate(0,"Close_Line",OBJ_ARROW_DOWN,0,Time_0,Close_0); ObjectSetInteger(0,"Close_Line",OBJPROP_COLOR,clrRed); ObjectSetInteger(0,"Close_Line",OBJPROP_WIDTH,2); } else { ObjectSetInteger(0,"Close_Line",OBJPROP_COLOR,clrYellow); }the arrow always looks upward arrow !!!
Whole of the code about creating Arrow is the arrow always looks upward arrow !!!
You are using the same name for every object so they will overwrite each other
That's right.
"using the same name for every object", it was my mistake.
Thank you Paul
Hi every body
I've wrote this code
But the result is :
Please guide me how to make it's direction downward arrow?