Thank you so much! It works amazingly! Doing the lowerband one tripped me up for a bit until I looked at it a bit and was like NO WONDER! Sometimes it's just the most obvious things that end up being the most frustrating. I actually ended up putting it into a study first so that I could name the study and trim it down to one short and to the point text message rather than 3 out of order messages.by bijinkei - Trading Discussion
I just want an alert when price crosses above the upper band and another for when price crosses below the lower band. I have chart alerts set for these actions, but I can't always be at my computer and I do have to sleep, haha. Thank you so much for your help!! input length = 55; input lookback = 2; input lookforward = 1; def HP = high > Highest(high[1], lookback); def HF = hby bijinkei - Trading Discussion
I tried replacing a bunch of things with GetValue and while the plot works, the study alerts still give me that rec usage not allowed message. I think the issue is that I'm still using < and >? input length = 34; input lookback = 2; input lookforward = 1; def HP = GetValue(high,0) > GetValue(high, 1, lookback); def HF = GetValue(high,0) > GetValue(high, -lookforward); defby bijinkei - Trading Discussion
Do you know if there's a way to turn a recursive variable into a non-recursive one? Or some way to get around using a recursive. I'm trying to set a study alert to notify me of when a new higher/lower fractal is formed and apparently recursive variables are disabled in study alerts.by bijinkei - Trading Discussion
Ha! That was such a simple stupid error! I guess my brain wasn't functioning properly after all these days of trying to figure out how to script/code and whether I should even bother to script stuff in Java so that I can just use the platform that I like for placing orders. Thinkscript is way easier though so I'll just stick with TOS for the charts. Thanks for helping and even making the script wby bijinkei - Trading Discussion
Wow, I can't believe I didn't find this thread sooner! I guess cuz I wasn't trying to script and test studies/indicators. Anyway, I've been trying to figure out how to build a script that paints the candles on the chart into the colors corresponding to what they would be if it was a Heikin Ashi chart. I tried combining parts from the lower plot Heikin Ashi chart that you posted a while back withby bijinkei - Trading Discussion