Im a beginner and figuring things out. Apricate if someone help me understand how to add a additional buffer to the below code. Both the divergence buffers gives varying indicator value and i would like a new buffer that has 1 or 0 when the divergence arrow appears.
Are you a beginner programmer willing to learn how to code in MQL5?
Are you a beginner programmer willing to learn how to code in MQL5?
How is he supposed to tell, he is just about to find out.
Im a beginner and figuring things out. Apricate if someone help me understand how to add a additional buffer to the below code. Both the divergence buffers gives varying indicator value and i would like a new buffer that has 1 or 0 when the divergence arrow appears.
First of all you change indicator_buffer to "5" in the header and then it depends if you want to plot another thing so you need to change the plot number also and then you
SetIndexBuffer for the new buffer. If you want to plot it you can do it like the other four, if it is just for side calculations you have to insert INDICATOR_CALCULATIONS.
https://www.mql5.com/en/docs/customind/setindexbuffer
May I ask what do you intend to do with it?
- www.mql5.com
Are you a beginner programmer willing to learn how to code in MQL5?
im using fx dreema so at least i can get a good understanding do basic things without having to wait to learn.. but i know eventually i need to learn inorder to progress further
How is he supposed to tell, he is just about to find out.
First of all you change indicator_buffer to "5" in the header and then it depends if you want to plot another thing so you need to change the plot number also and then you
SetIndexBuffer for the new buffer. If you want to plot it you can do it like the other four, if it is just for side calculations you have to insert INDICATOR_CALCULATIONS.
https://www.mql5.com/en/docs/customind/setindexbuffer
May I ask what do you intend to do with it?
Sorry i didnt see anyone replying till now. it was for fxdreema so i can use buffer values as entries and exits and thanks. After spending sometime playing around with different things i figured out anything that has calculations or index in set index buffer can be changed to indicator.. noobs way lol
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Im a beginner and figuring things out. Apricate if someone help me understand how to add a additional buffer to the below code. Both the divergence buffers gives varying indicator value and i would like a new buffer that has 1 or 0 when the divergence arrow appears.