I am looking for coding guidance on using measurements on higher time frame charts in an indicator on a trading time frame.
Example. I want to test if Fibonacci retracement and extension measurements (that are not actually drawn) made of swings on a 1 day chart are at specific zones on my trading time frame, and make the results (Bool true or false test) available to a variable for a indicator on a 1 hour chart.
Another example would be the Y value of a support and resistance zone identified on a day chart available to a variable of the indicator on the 1 hour chart.
What I am trying to do is write an indicator that takes a number of criteria into account and then presents a score back to the User. Eg is HTF support is present at your target zone =1, if HTF trend is identified that supports entry direction = 2, if HTF Fibonacci at trading time frame entry zone = 1, total score is 4 etc...
While I can write all of the tests for criteria I want to score on the trading time frame, I am stuck as to how to test a higher time frame and report the results back to the trading time frame.
Thoughts?
Comment