♥ 0 |
Hi Pete, I am trying to do something seemingly straight forward, but unable to get the desired plot. I want to plot the usual 1 or 0 in the lower study which corresponds to the in-built ProfitTargetLX strategy. I copied the code (pasted below for your reference) and tried to plot however its not working. What am I doing wrong? Screenshot is attached. Thanks for your input as always. Stock.
# declare lower; input offsetType = {default percent, value, tick}; def entryPrice = entryPrice(); plot lowersignal = If (high crosses above targetPrice, 1, 0); —————————————————————————————-
Marked as spam
|
Please log in to post questions.