Am coding a polynomial regression dashboard when price breaks the upper or lower channel line. Am using the i-Regr-2.0.mq5 indicator published here https://www.mql5.com/en/code/28375
The indicator has 2 buffers for the upper channel line and lower line as below;
My set doubles are like this;
double hBuffer = Regression_BufferValue(SymbolNum, TFNum, 0, shift);
double lBuffer = Regression_BufferValue(SymbolNum, TFNum, 4, shift);
What's the right coding when price breaks the upper channel and lower channel line? Have tried; hbuffer < Price_Typical all in vain.
Those buffers are arrays. Your assignments makes no sense. (and won't compile)
My problem is getting the code for the channel price break.When i use;
hBuffer < PRICE_TYPICAL
lBuffer > PRICE_TYPICAL
My problem was the price to use
I eventually got the right price to use in-accordance to the dashboard. Dashboard runs perfectly now
Please enable the necessary setting in your browser, otherwise you will not be able to log in.