Hello, does anyone know how to code a filter to the expert below? So it looks for another custom indicator in daily and determines the direction and then adjusts the maximum risk percentage? Based on that then it will enter on the direction of the same indicator on the h4 chart? This expert will be placed in the 15min chart.
sorry how do I post the code?
Hello, does anyone know how to code a filter to the expert below? So it looks for another custom indicator in daily and determines the direction and then adjusts the maximum risk percentage? Based on that then it will enter on the direction of the same indicator on the h4 chart? This expert will be placed in the 15min chart.
Hi,
Have a look to the iCustom() function, you will have the TimeFrame parameter and so the ability to choose from wich time frame you want the data. Hope it helps...
To post a piece of code, just use the SRC button and copy and paste the code.

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hello, does anyone know how to code a filter to the expert below? So it looks for another custom indicator in daily and determines the direction and then adjusts the maximum risk percentage? Based on that then it will enter on the direction of the same indicator on the h4 chart? This expert will be placed in the 15min chart.