TradingView
ceyhun
1 feb 2020 00:16

Trend Trailing 

EURO / AUSTRALIAN DOLLARICE

Beskrivning

Andrew Abraham

It can be used as:
- stop loss indicator
- indicator of support and resistance
- buy and sell signals

Versionsinformation

bugs fixed

Versionsinformation

fix
Kommentarer
Jbenavente
Hi, how would you code a script that sets stop loss 8% below the price at any given time?
ceyhun
@Jbenavente, Hi,
profittaker=close+close/100*percent
stoploss=close-close/100*percent

plot(profittaker)
plot(stoploss)
ASIFKERIM
@ceyhun, Hi,I applied this to indicator shows undeclared identifier percent
ceyhun
@hjsjshs, //@version=4
study("", overlay=true)
pt = input(1.08)
st = input(0.92)

plot(pt * close,title='profittaker ', linewidth=2, color=color.red)
plot(st * close,title='stoploss ', linewidth=2, color=color.green)
UnknownUnicorn16357452
Hi sir I create script buy sell signal but its repaint how make this non repaint
syrinxflunki
Love its simplicity, thank you..
ceyhun
@syrinxflunki, thanks...
Mer