rera7:
Look in the Editor help documentation for High and iHigh
hi iam started learnig to write a code
need to write this
if previous 1,2,3 bars highest of high value should be higher than the previous 4,5,6, bars lowest of low .
anybody help me !!
thanks for your suggestions. after going through iHighest,iLowest functions .. this is what i got
> if { previous 1,2,3 bars highest of high value > previous 4,5,6, bars lowest of low }
if( High[iHighest(NULL,0,MODE_HIGH,3,1)] > Low[iLowest(NULL,0,MODE_LOW,3,4)])
is this correct ? added 4 in above function ,so it will start from previous fourth bar!
rera7:
Looks correct to me
thanks for your suggestions. after going through iHighest,iLowest functions .. this is what i got
> if { previous 1,2,3 bars highest of high value > previous 4,5,6, bars lowest of low }
is this correct?
Thank you sir.

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 iam started learnig to write a code
need to write this
if previous 1,2,3 bars highest of high value should be higher than the previous 4,5,6, bars lowest of low .
anybody help me !!