Page 1 of 1

stop signs

PostPosted: Wed May 22, 2019 5:01 am
by scafcid
Hi Apprentice, I ask you if you can create an indicator that automatically calculates two stop levels for a possible entry from my idea. The calculation done this way: red candle (down) second stop level (L + 1) - [(H-L-1) / 3] then first stop level (C + 1) - [(H-C-1) / 3]
green candle (up) second stop level (H-1) + [(H-L-1) / 3] first stop level (C-1) + [(L-C-1) / 3]
This graphically indicated on the candle directly with a red hatch / line (short) for down, green / blue for up or type indicator "bar heigth label" where the calculations (in my case levels) are displayed in figures on the candle.
I hope I was clear for you.
I thank you for your availability

stop signs

PostPosted: Wed May 22, 2019 5:24 am
by scafcid
I'm sorry I forgot, in the calculation of my request more or less 1 I mean in pips as a figure for example L 1,26768 cacolo 1,26768 + 0,0001 = 1,26778
Thanks again

Re: stop signs

PostPosted: Wed May 22, 2019 6:08 am
by Apprentice
Stop Signs.lua
(4.93 KiB) Downloaded 361 times

Can you please review your formula.
USOil M1 (05-22-2019 1112).png

Only few instruments have visible output, while most have none.

Re: stop signs

PostPosted: Wed May 22, 2019 5:33 pm
by scafcid
the variable is H-L and H-C for red candles, and H-L and L-C for green candles must not be more than 4.5 pips alrtimenti the stop will have a final calculation of 0.00001 untranslatable.

Re: stop signs

PostPosted: Wed May 22, 2019 5:52 pm
by scafcid
I hope to make myself understood, therefore calculation and red stop signs only with red candles this word L + 0.0001 - [(H-L-0.0001) / 3] and C + 0.0001 - [(H-C-0.0001) / 3 ] while only with green candles green stop signs with this word H-0.0001 + [(H-L-0.0001) / 3] and C-0.0001 + [(H-C-0.0001) / 3] I attach image for make my idea understood.thanks

Re: stop signs

PostPosted: Thu May 23, 2019 3:05 am
by Apprentice