CoachT
New member
Goodmorning Family,
Could someone please look at this script and tell me What I am doing wrong. I am trying to create a Take Profit Condition based on a 4hr ATR. Though the strategy will plot an exit, The strategy is taking me out of trades far too early. This is just one example of the many ways ive tried to configure it. I think I've started to over think it at this point.
"Base" is the def for the MA on the chart.
def HitTP1 = (EntryPrice() - Base) + ATR < Open[-1];
Could someone please look at this script and tell me What I am doing wrong. I am trying to create a Take Profit Condition based on a 4hr ATR. Though the strategy will plot an exit, The strategy is taking me out of trades far too early. This is just one example of the many ways ive tried to configure it. I think I've started to over think it at this point.
"Base" is the def for the MA on the chart.
def HitTP1 = (EntryPrice() - Base) + ATR < Open[-1];