♥ 0 |
I have a custom study with simple 4 to 5 lines which references standard studies. My custom study stops plotting after 2 to 3 minutes on the chart. Below is the code: def LONG_BUY = (close is greater than MovAvgExponential(“price” = HIGH, “length” = 12).”AvgExp” and close from 1 bars ago is less than MovAvgExponential(“price” = HIGH, “length” = 12).”AvgExp” and DMA(“length” = 15) is greater than DMA(“length” = 15) from 1 bars ago and DMA(“length” = 15) from 4 bars ago is greater than DMA(“length” = 15) from 5 bars ago) ; I plugged the above in ‘conditional’ buy order and even that does not trigger. It triggers only if the condition staisfies within 2 minutes of wait and if thie wait is more than 2 to 3 minutes to satify the condition, then it never triggers at all.
What could be going wrong?
Marked as spam
|
Please log in to post questions.