Search found 1 match

Go to advanced search

by ReyLoco
Wed Jan 10, 2024 12:23 pm
Forum: Pine Script Q&A
Topic: help with the new advanced template
Replies: 0
Views: 10897
 
Jump to post

help with the new advanced template

using the new advanced template, i don't understand the following: bool LongTrade = ta.rsi(close, 14) < 30 and close > open and strategy.position_size == 0 bool ShortTrade = ta.rsi(close, 14) > 70 and close < open and strategy.position_size == 0 bool UseExitReason = STRATEGY_EXIT_HCLC or STRATEGY_EX...

Go to advanced search