OPEN-SOURCE SCRIPT
מעודכן DarkFutures Where/How/When

Testing - for 15min Gold scalps
It identifies 4hr Where, 30m How and 5min When sareas of trade, then gives a signal to buy/sell based on that trend and momentum information using 8/21 EAM and Vwaps.
It identifies 4hr Where, 30m How and 5min When sareas of trade, then gives a signal to buy/sell based on that trend and momentum information using 8/21 EAM and Vwaps.
הערות שחרור
DarkFutures — Where / How / WhenDarkFutures is a multi-timeframe trend participation indicator designed to identify structured pullback entries within directional markets.
Signals appear only when higher-timeframe bias, market structure, and execution conditions align — favoring continuation over prediction.
Green indicates alignment with trend.
Red indicates directional pressure.
When all layers agree, continuation is statistically more likely than reversal.
Framework
WHERE — Higher Timeframe Bias
Uses the 4H VWAP (or EMA) to define the dominant directional environment.
HOW — Structural Trend
Applies a 30-minute EMA to confirm the market is trending rather than rotating.
WHEN — Execution Trigger
Waits for a controlled pullback, momentum support, VWAP alignment, and an EMA reclaim to signal potential continuation.
The model is intentionally selective and performs best in orderly, trending conditions.
Visual Guide — Lines & Colors
WHERE Line (4H VWAP / EMA)
Defines directional bias.
Green: Bullish environment
Red: Bearish environment
Grey: Filters inactive / no-trade conditions
HOW Line (30m EMA)
Confirms structural trend.
Green: Uptrend structure
Red: Downtrend structure
EMA Ribbon (8 / 21 EMA)
Shows short-term control.
Green fill: Bullish pressure (fast EMA above slow)
Red fill: Bearish pressure
VWAP (Execution)
Tracks intraday positioning.
Yellow: Strong bullish alignment
Orange: Strong bearish alignment
White: Neutral conditions
BUY / SELL Labels
Signals print only when WHERE, HOW, and execution criteria align, indicating a potential pullback continuation within trend.
//Adjust settings for the Pullback from deafult 0.15 upwards to widen the buy/sell signal criteria. This will give more signals, however this will cause the signals to fire on not really pullbacks, it might fire after the price has already extended, so be wise.
//Lower the bar cooldown to 2-3 for 15min timeframe to avoid fake signals causing the real move to not appear.
Design Principle
This is a participation tool — not a reversal indicator.
It is built to:
Reduce impulsive entries
Avoid chasing extended moves
Prioritize structural alignment
Support disciplined execution
Signals should be used as decision support within a risk-managed trading plan.
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.