Search found 2 matches

Go to advanced search

by seven31
Sun Dec 31, 2023 6:51 pm
Forum: Pine Script Q&A
Topic: multi time frame entry/exit conditions
Replies: 0
Views: 44726
 
Jump to post

multi time frame entry/exit conditions

hey guys, i have built a script that goes long or short based on changes in slope of the MACD histogram, i use the 5 minute chart as default. However there is not enough granularity in the 5 minute charts for the exit positions which are based on percentage win and loss, if anyone knows how to make ...
by seven31
Sat Dec 16, 2023 9:05 am
Forum: Pine Script Q&A
Topic: Undeclared identifier message sar/dmi strategy
Replies: 1
Views: 8483
 
Jump to post

Undeclared identifier message sar/dmi strategy

i'm building a strategy using the parabolic sar and DMI, Its my first time so im having a bit of trouble. //@version=5 strategy(title="SAR ADX", initial_capital=150000, currency= currency.USD, default_qty_type= strategy.percent_of_equity) // THE variables sar = ta.sar(sar_acceleration, sar_accelerat...

Go to advanced search