Arrow again

To add comments, please log in or register
MadaForex
121
MadaForex  

Hello to all,

I am working on a custom indicator that shows arrow.

My problem is that i want to have the arrow each time all conditions are gathered.

Now it shows arrows, and total reversal. But when there is no reversal, it doesn't show arrow when conditions are gathered again.

Can someone help me to do it please ?

Mladen Rakic
160828
Mladen Rakic  
MadaForex:
Hello to all,

I am working on a custom indicator that shows arrow.

My problem is that i want to have the arrow each time all conditions are gathered.

Now it shows arrows, and total reversal. But when there is no reversal, it doesn't show arrow when conditions are gathered again.

Can someone help me to do it please ?

MadaForex

It is showing 2 types of arrows. Is it supposed to show more?

MadaForex
121
MadaForex  

Hello mladen ,

Yes 2 types of arrow , up and down but, i am trying to display the arrows when conditions are gathered again. That means that it could show 2 or 3 or more green arrows in a row.

Now it shows only reversal.

Until now i ami trying to do it.

AZRUL FYZEE AZMI
213
AZRUL FYZEE AZMI  
MadaForex:
Hello mladen ,

Yes 2 types of arrow , up and down but, i am trying to display the arrows when conditions are gathered again. That means that it could show 2 or 3 or more green arrows in a row.

Now it shows only reversal.

Until now i ami trying to do it.

Dear Mada,

It is showing......

Files:
mada.jpg 48 kb
Mladen Rakic
160828
Mladen Rakic  
MadaForex:
Hello mladen ,

Yes 2 types of arrow , up and down but, i am trying to display the arrows when conditions are gathered again. That means that it could show 2 or 3 or more green arrows in a row.

Now it shows only reversal.

Until now i ami trying to do it.

To have 2,3 or more arrows in a line, change this line of code :

trend = trend;

to this :

trend = 0;

Also change this :

if (trend!=trend)

if (trend==1)

ExtMapBuffer3 = Low-((Arrow_Shift)*dist);

else ExtMapBuffer4 = High+((Arrow_Shift)*dist);

to this

if (trend!=trend)

{

if (trend== 1) ExtMapBuffer3 = Low-((Arrow_Shift)*dist);

if (trend==-1) ExtMapBuffer4 = High+((Arrow_Shift)*dist);

}

MadaForex
121
MadaForex  

Yes mladen,

It's about theeses lines. I will try it today.

I ll give you news.

Thank you to both of you.

MadaForex
121
MadaForex  

Again mladen thank you very much.

It works perfectly.

See you soon.

To add comments, please log in or register