You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Thanx Raptor for your advice...I have used the print statements as you instructed and found that no matter which color block is plotted on the chart
the values of those buffers do not change...the 5min red is always 0 and the 5min blue is always 4 even if i look back to the [1] or [2] candles values.
this helps me see why the indy wasnt alerting properly...
now my (inevitable) questions is how the heck do I code an alerter for this indy? I have done an alerter before that used a comparison of buffers and it worked fine...
so now im stumped as to how to proceed...some guidance /suggestions as to how I can code an alerter for this indicator would be much appreciated.
also want to take a moment to thank you all (especially Raptor and Dabbler) for their assistance...and ENDLESS patience :)
thanks guys...
any advice on how to proceed would be gratefully and humbly accepted
Can you please show the code you are currently using for your iCustom calls . . .
I think you maybe looking at the wrong buffers . . . buffer 0 is buf4_up i.e. H1 if you are on a M5 chart
I ran a script with buffers set as in the code above the same as the code in this post and it works fine as a script...but just wont work as an alerter...
heres what worked fine as a script (it alerts perfectly as to what the colors are over the 3 criteria (colors of : 15min candle[1], 5min candle[2], 5min candle[1]) ...but the minute I try use the exact same comparison criteria in the same format as this script in an alert indicator ...then it wont do a thing)