Stop Signs

Here you can post and download custom indicators. PLEASE: Do not start topics unless you are posting your own indicator, they will be moved to appropriate section even if you do.

Moderator: admin

Stop Signs

Postby Apprentice » Thu May 23, 2019 3:04 am

EURGBP m1 (05-23-2019 0809).png

Based on request.
viewtopic.php?f=27&p=126494
Stop Signs.lua
(4.82 KiB) Downloaded 115 times
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 22124
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Stop Signs

Postby scafcid » Thu May 23, 2019 2:41 pm

I am attaching this image thanks for your patience. It is not correct indicator before developed
Attachments
EURUSD m30 (05-23-2019 1943).png
scafcid
 
Posts: 15
Joined: Fri Mar 09, 2018 9:07 am

Re: Stop Signs

Postby Apprentice » Fri May 24, 2019 4:31 am

Try it now.

Try to describe your idea.
If you look at the code, the formula is the same as yours.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 22124
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Stop Signs

Postby scafcid » Sat May 25, 2019 8:14 am

Level1[period]=(source.high[period] - 0.0001) - ???((source.high[period]-source.low[period]-0.0001) / 3) ;
Level2[period]= (source.close[period] - 0.0001) - ???((source.low[period]-source.close[period]-0.0001) / 3);
else
Level1[period]=(source.close[period]+0.0001) +??? ((source.high[period]-source.close[period]-0.0001) / 3) ;
Level2[period]=(source.high[period]+0.0001) +??? ((source.high[period]-source.low[period]-0.0001) / 3);
end
i put question marks for the change in the code ,error is in having inverted the + with the - in the codes.
scafcid
 
Posts: 15
Joined: Fri Mar 09, 2018 9:07 am

Re: Stop Signs

Postby scafcid » Sat May 25, 2019 8:38 am

my mistake then in the code red canverddles 2 level ... sorry.

rewrite: blue candles I have to find only two levels of blue / green stop calculation H - 0.0001 + [(H - L - 0.0001) / 3] then C - 0.0001 + [(C-- L - 0.0001) / 3]


red candles I have to find only two red levels
calculation L + 0.0001 - [(H - L - 0.0001) / 3] then C + 0.001 - [(H - C - 0.0001) / 3]

for it to be right there must be two levels per candle same color red candle red or green candle green
I look for an entrance against trend so I want to see where my stops are in reference H, C green candle, in the red candle in reference L, C
Thanks again
scafcid
 
Posts: 15
Joined: Fri Mar 09, 2018 9:07 am

Re: Stop Signs

Postby scafcid » Thu May 30, 2019 8:38 am

Hi, I'm writing to you to know if you could check my annotations of the indicator.
Thanks again
scafcid
 
Posts: 15
Joined: Fri Mar 09, 2018 9:07 am

Re: Stop Signs

Postby Apprentice » Sat Jun 01, 2019 9:48 am

Have a revised indicator formula.
Does not look promising.
Try to use actual price levels, both as input and result.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 22124
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia


Return to Custom Indicators

Who is online

Users browsing this forum: No registered users and 15 guests