marketcycle17 :
Hi
I have an indicator that should draw arrows on the chart at MA-crossover.
The code that should do the arrow work is at lines 112-128. Indicator is attached.
What should be changed in the code?
Explore: help - learn how to get data from an indicator (help: iMA )
See sample: Intersection two iMA Text
marketcycle17: I have an indicator that should draw arrows on the chart at MA-crossover.
for(int i=1;i<rates_total;i++) { //Buy-signal arrow if ((ma1[0] > ma2[0]) && (ma1[1] < ma2[1]) && (ma1[0] > ma2[1]) && (ma2[0] > ma2[1])) { ArrowBufferUp[i]=low[i];You are looking at the current and previous bar and then drawing arrows on all bars.
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
Hi
I have an indicator that should draw arrows on the chart at MA-crossover.
The code that should do the arrow work is at lines 112-131. Indicator is attached.
What should be changed in the code?