Mr. Pete, I’m glad you are recovering well.
I’m trying to write a script that uses the full stochastic to mark cycle highs and lows. The definition of the high is %D crosses above 45 and then back below 55 and the low is marked by %D crossing below 45 and back above 55. I’m pretty much stuck, all I’m getting are red and green arrows accross the bottom of the chart. Please take a look at the script below, one glance and you can tell I don’t know what I’m doing 🙂 Any help or suggestions would be greatly appreciated.
input over_bought = 80;
def lowest_k = Lowest(priceL, KPeriod);
def FullK = MovingAverage(averageType, FastK, slowing_period);
def OverBought = over_bought;
def upK = FullK crosses above OverSold;
plot UpSignal = cycleLow;
Marked as spam
Please log in to post questions.