my moving support and resistance indicator

 

hi all

iam a beginner in programing

i designed my first indicator and it works pretty good

but i missed some programing orders to be able to make a back test for the indicator

the idea of the indicator simple is to draw horizontal yellow line as a moving support or resistsnce for the day

but during the bback test the yellow lines didnt appear

can anybody help me with this indicator

the indicator is attached down

Files:
 
crownpearl77:

hi all

iam a beginner in programing

i designed my first indicator and it works pretty good

but i missed some programing orders to be able to make a back test for the indicator

the idea of the indicator simple is to draw horizontal yellow line as a moving support or resistsnce for the day

but during the bback test the yellow lines didnt appear

can anybody help me with this indicator

the indicator is attached down


up
 

crownpearl77:

but during the bback test the yellow lines didnt appear

can anybody help me with this indicator

The tester runs an EA. You won't see the indicator unless you add it to the visual chart.
 
WHRoeder:
The tester runs an EA. You won't see the indicator unless you add it to the visual chart.


thanks for your comment

but i already using the visual mode,

to make my self clear, there are 4 colours in the indicator,the red and green and blue appears, but the yellow dont

i think because i used the order ( objectdelete), if that true what is the right code !!!1

the indicator in the attachment for anyone want to review it and tell me the right thing tl do

thanks a lot

Reason: