for(int i=start; i<rates_total-prev_calculated; i++) ChariotBuffer[i]=(tick_volume[i]*(low[i]-ExtTempBuffer[i]))+(tick_volume[i]*(high[i]-ExtTempBuffer[i]));
Why is this "rates_total-prev_calculated", shouldn't it be "rates_total - 1"?

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
One issue I'm having modifying pre-existing indicators is the indicator plot on the graph will stop updating and return to zero, until I recompile or change timeframes and back again. I've been trying everything.
What's the best code for an indicator loop?
Here's my code, trying to combine Bears and Bulls, but for some reason it stops working. Does it have to do with how I coded the Signal line(MA on Bears+Bulls)?
I've tried 2 days to correct whatever issues there are, copy and pasting code from working indicators and modifying, etc, reverting back and trying again. A bit frustrating. Compile and put on a chart and watch it return to Zero line when a new bar forms.. lol! pain.exe