Thank you Robert. That worked!! Sometimes it's staring me in the face and I can't see it. Thanks again.by Gaterz - Trading Discussion
I'm having a problem with the AddLabel. This bit of code has the label always visible regardless if the conditions are met or not. Only want it showing if the Chop conditions are met. Can't find my error. Help? declare lower; input length = 14; input level_1 = 25.0; plot ADX = ADlength); plot Level1 = level_1; def hiDiff = high - high[1]; def loDiff = low[1] - low; defby Gaterz - Trading Discussion
OMG! Thank you so much Robert!! I spent around 4 hours working on that. Learning thoughby Gaterz - Trading Discussion
ok, I can't get arrows to show on the chart. I've gone thru every write up in this thread trying different combinations. The arrows will show in the lower panel OR if I take out the "declare lower" everything is messed up on the chart. I've also tried crossType == crossType and that doesn't work Arrows are supposed to show on the chart at the point that the Momentum line crosses tby Gaterz - Trading Discussion
Thank you, sir. I just couldn't figure out what was wrong.by Gaterz - Trading Discussion
Can't understand why I have an invalid statement in the last line (**). Help? #SMART_MO # declare lower; input length = 12; input price = close; Assert(length > 0, "'length' must be positive: " + length); plot Momentum = price - price; plot ZeroLine = 0; Momentum.SetDefaultColor(GetColor(1)); ZeroLine.SetDefaultColor(GetColor(0)); Momentum.DefineColor(&quoby Gaterz - Trading Discussion
Ok, I can't get this to work, my mind must be missing something: Gap_Up def body = AbsValue(open-close); def larger = if high[1] < low[-1] and body > body[1] and body > body[2] and body > body[3] then 1 else 0; plot wrbhg = if low[1] > high[-1] and body > body[1] and body > body[2] and body > body[3] then 1 else 0; wrbhg.SetPaintingStrategy (PaintingStrategy.BOOby Gaterz - Trading Discussion
Hey Gents, Looking for the following strat coded: (anything in [ ] is user defined) ADX ADX EMA Long entry: If ADX > ADX and Close < EMA close, then a BUY signal is generated on price chart (arrow maybe?) Short entry: If ADX > ADX and Close > EMA close, then a SELL signal is generated on price chart (arrow maybe?) Your work here is GREATLY appreciated guys, Rob. Gaby Gaterz - Trading Discussion
I have this: AddLabel(yes, if close > Average(close, 20) then "Uptrend" else "Downtrend" but I can't get the color to change depending if it's Uptrend or Downtrend. It's always red. I've tried different things with no luck. Help? Thx for the code above. Yo'ure awesome! Gaterzby Gaterz - Trading Discussion
Can I get a script for the previous week's High and low? Plotted on "today's" chart Do you have Paypal or something for donations?by Gaterz - Trading Discussion
I recently started watching the Time & Sales but it goes pretty fast. What I'm looking for is a way to take the average trade size and plot it on my chart by coloring the candlesticks based on that. A way to identify high average size and low average size. Average high and low can be different for everyone I guess so maybe that can be user defined? Or I guess maybe a cutoff between high anby Gaterz - Trading Discussion
Thanks guys...that was rather quick. Awesome work!by Gaterz - Trading Discussion
Is it possible to have the area between 2 moving averages shaded like in this video? Shaded MA'sby Gaterz - Trading Discussion