finding the highest close on 1m chart from any timeframe based on the date and time using iBarShift and Close[iHighest]
thank you for mention it , you mean Idon't need to use
Close[iLowest(NULL,PERIOD_M1,MODE_CLOSE,20,bar1)];
because I have already set the
MODE_CLOSE
so
iLowest(NULL,PERIOD_M1,MODE_CLOSE,20,bar1);
is the best way to code it ,,
do you think it will look forward ? if the number of bars was in negative value like -20 ??
or just backward
and thank you again , I'll try it
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 everyone , I hope that you're having a great day ,
I was trying to use CHARTEVENT_CLICK to select the bar I want to draw Fibonacci On any timeframe the the indicator will draw 2 Fibonacci level , one on the current frame highest ,and the second on the highest close on 1m timeframe ..
the problem is using the close price of the highest candle "Close[iHighest]" is only looking back from the candle I select and I want it to look forward , I tried to code it with a negative value but it won't work . and the 1m level is working only on 1m frame
I want to be able to select any candle on any timeframe and the indicator draw one level on the frame I use and search forward stating from the time of the candle i selected maybe using the iBarShift But, in 1 Min timeframe
I really need some guidance and thank you all .
"
there is another indicator for the level 0 and it complete this indicator
"