Search found 2 matches

Go to advanced search

by TejaSiddani
Fri Mar 24, 2023 3:35 pm
Forum: Pine Script Q&A
Topic: How to create ATR Trailing Stoploss
Replies: 1
Views: 2081
 
Jump to post

How to create ATR Trailing Stoploss

I tried to code stop loss and it's plotting fine in a chart when I tried to add to the strategy it was not executing... please help if longBuy strategy.entry(id = "Long", direction = strategy.long) // strategy.exit(id = "exit", from_entry = "Long", stop = longStopATR) // Long trade exit if buyExit o...
by TejaSiddani
Fri Mar 24, 2023 8:31 am
Forum: Pine Script Q&A
Topic: Bollinger Band inside candle, RSI signal
Replies: 1
Views: 1986
 
Jump to post

Bollinger Band inside candle, RSI signal

Hi... This is Teja I've only recently begun learning Pinescrip: I have a strategy that I'd like to code. Strategy rules: Long trade: When RSI > 30 level and Candle ( price ) inside Bollinger Band low > mid short trade: RSI < 70 level and candles inside Bollinger bands high > mid No trade: if candles...

Go to advanced search