Hi There Forum I created a custom quote script that has 4 addlabel's. The ROCUp_slowing and the ROCdown_slowing are not getting the requested color in the script. Any assistance would be appreciated. code: def AO = Average(hl2, 5) - Average(hl2, 34); def Zero = 0; plot signalline = Average(AO, 5); def ROCup_Accelerating = if AO > zero then 1 else 0; def ROCup_Slowing = if AO &by liminaltrader - Trading Discussion
Thanks RAD10 for the script suggestion, it directed my attention to the use of isnan, it did not work as is however, as I researched isnan, i was able to create one that did trigger, however not sure if the below is still correct...will have to see when the market opens Monday...it currently is triggering a buy and sell message each time I open the chart, which doesn't make sense right now...I tby liminaltrader - Trading Discussion
Hello forum, Below is a script that has an alert that for some reason is not working(e.g. no message when condition is met). What am I missing? Thanks. Code: declare upper; input price = CLOSE; input HMA_Length = 55; input lookback = 2; input labels=no; plot HMA = HullMovingAvg(price = price, length = HMA_Length); def delta = HMA[1] - HMA; def delta_per_bar = delta / lookbacby liminaltrader - Trading Discussion
Hello Forum Below is a script that I am having an issue with the alert at the end. It seems proper however, when the condition is met the alert message does not occur for some reason. What am I missing here? Code: declare upper; input price = CLOSE; input HMA_Length = 55; input lookback = 2; input labels=no; plot HMA = HullMovingAvg(price = price, length = HMA_Length); def deby liminaltrader - Trading Discussion
Hi There forum, I need help with doing the following with the SchaffTrendCycle: - #1: plot an arrow above/below the candle that is triggered when STC crosses below/above the overbought/oversold line - #2: add buy/sell alert messages when #1 is met. Code: input fastLength = 23; input slowLength = 50; input KPeriod = 10; input DPeriod = 3; input over_bought = 75; input over_sold = 25;by liminaltrader - Trading Discussion