🔥 Multi-timeframe PineTS strategy #115
tripolskypetr
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
The graph below replicates a two-timeframe strategy: a 4h Pine Script acts as a trend filter, a 15m Pine Script generates the entry signal.
outputNodecombines them and returnsnullwhen the trend disagrees.The graph resolves both Pine Script nodes in parallel via
Promise.all, then passes their typed results tocompute. Replacing either timeframe script or adding a third filter node requires no changes to the strategy wiring.Beta Was this translation helpful? Give feedback.
All reactions