Simply place the cursor on CopyBuffer() and press F1 and you find all you need :)
Carl Schreiber #:
Simply place the cursor on CopyBuffer() and press F1 and you find all you need :)
I understand it but I think you did not read my questionSimply place the cursor on CopyBuffer() and press F1 and you find all you need :)
I want to put all multiple values to candle 1 on indicator so I can access it using copybuffer without for loop with using code i posted above
You could, every time the indicator stores a zero, just copy the value of the former candle.
This way you would not have to loop the buffers.
This is what I meant.
for(int l=200; l>=0; l--) { if(high[l]>18200.00) Up[l]=high[l]; }else Up[l]=Up[l + (l < 200)]; }
my scanner is looking for 200 bars on chart and filtering values of high on specific candles
e.g. from candle 0 to candle 200 it may have values in bar 50 and bar 100
on rest candles value can be zero
How can i pass these values to candle zero
so my scanner reads it at last candle
on my indicator :
On my EA:
I want to check the valid values without using for loop , so please help me regarding how to pass values to EA using Copybuffer
If i use
then it will only get value of last 1 candle
but i want to get values of last 200 bar without using for loop