You could use objects but that'll slow things down allot.
tintin92:
Is it possible to draw parallels from Close, without using buffers?
int pos=Bars-IndicatorCounted()-1; //---- main calculation loop while(pos>=0){ ExtMapBuffer1[pos] = Close[pos]+(Close[pos]*(pourcent)); ExtMapBuffer2[pos] = Close[pos]+(Close[pos]*(2*pourcent)); ExtMapBuffer3[pos] = Close[pos]+(Close[pos]*(3*pourcent)); pos--; }
You do not seem to be drawing parallel straight lines from a particular Close value. You are joining close points together with an artbitrary curve. Realistically you cannot do this any other way than with buffers. Drawing 100,000 objects is not an option.
Why do you not want to do it with buffers?
tintin92:
Is it possible to draw parallels from Close, without using buffers?
Is it possible to draw parallels from Close, without using buffers?
- Something like Linear Regression Channel - MQL4 Code Base perhaps?
Hi,
Thank for all answers.
Specially to ubzen and dabbler.
Pierre8r
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
Hello,
Is it possible to draw parallels from Close, without using buffers?
Thank you,
Pierre8r
Code with buffers :