Could someone please post an example of EFS code that uses conditions on multiple charts of differing time periods? That is, in addition to conditions being met on the chart running the script (e.g. 1 min.), the script requires conditions also being met on a second (5 min.) or third (15 min.) chart having different time period(s).
A simple single-study example might be:
Alert when the CCI on the 1, 5, and 15 min charts are all above 150.
A simple multi-study example might be:
Alert same as above, but also, MACD must be greater than zero on the 1, 5, and 15 min.
(Or any similar example; whatever you've got.)
What code is required on the script-running chart (1 min.) in order to reference source data on the other charts (5 and 15 min.)?
What code is required on the other charts (5 and 15 min.) to enable the 1 min. script to access the data?
How CPU intensive are multi-chart formulas?
I'm not familiar with how multi-chart formulas work, so my descriptions of the interactions are probably technically incorrect. Could someone provide more explanation in detail?
Thanks to all in advance.
A simple single-study example might be:
Alert when the CCI on the 1, 5, and 15 min charts are all above 150.
A simple multi-study example might be:
Alert same as above, but also, MACD must be greater than zero on the 1, 5, and 15 min.
(Or any similar example; whatever you've got.)
What code is required on the script-running chart (1 min.) in order to reference source data on the other charts (5 and 15 min.)?
What code is required on the other charts (5 and 15 min.) to enable the 1 min. script to access the data?
How CPU intensive are multi-chart formulas?
I'm not familiar with how multi-chart formulas work, so my descriptions of the interactions are probably technically incorrect. Could someone provide more explanation in detail?
Thanks to all in advance.
Comment