mar: I think that I can't use the variable i when checking the D1 timeframe. When I use this code in the H1 timeframe, I first have to check which D1 bar is the corresponding one. |
|
William, thank you so much! It works perfect!
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 Forum,
I want to check if the EMA50 is above the EMA100 in the current displayed timeframe and additionally in the D1 timeframe. The current timeframe is checked correctly but there is a problem with the D1.
I think that I can't use the variable i when checking the D1 timeframe. When I use this code in the H1 timeframe, I first have to check which D1 bar is the corresponding one. Can someone help me?