OPEN-SOURCE SCRIPT

NNFX, Baseline, QQEs Fast C1, Slow C2, ATR, Volume and Exit

已更新
Designed Around the NNFX rules

Selectible Baseine

Selectible Exit Indicators

ATR bands, ATR labels for TP and TSL (1x and 1.5x ATR).

Indication (White Diamond) where candle is over 1x ATR in size.

Combined QQE Fast & Slow (C1 & C2) confirmations, Candles Grey before Trend Confirmed, change to Normal Colour when Trend established (QQE MOD used for calcualtions).

Continuations signaled by white dot above/below candle (0.9x ATR from Close Signal).

Exit Long and Exit Short signaled by Red and Blue Arrow under/above candle.

版本注释
Spelling mistake
版本注释
Moved ATR values location to next to Baseline rather than Lower ATR Band.

Exit indicators (Red/Blue Arrows) only trigger on correct side of Baseline.
版本注释
Added Entry Indicators based on Baseline Cross, C1 & C2 confirming, Sufficient Volume and ATR Rule (Default 1.5x ATR but selectable as first option on inputs).

Entry indicator shows as Blue Arrow under Long Candle and ontop of Short Candle in direction of trade.

Exit indicators now RED regardless of direction. Shows as Arrow Above or Below candle.

Also shows on Entry on Continuation trades where value is still within ATR Rule.
版本注释
Added an inhibit on Entry Repeating for 3 candles from close.
版本注释
Added Inputs to select TP & SL/TSL ATR multipliers

Added Price for TP/SL/TSL next to ATR values for ease of making orders.
版本注释
Usability improvements;

1. Grouped user tuneable inputs - All now in sections for clear setup

2. Default text offset to 15 - TP/SL ATR values moved to right from chart

3. Added Code Section Collapse. Hide/Unhide next to line numbers.

4. Added better description of how to interpret, added this into code header but also added bellow.



// Using NNFX Principles
//
// Above/Below Baseline represents Long/Short area
// C1 (QQE) & C2 (QQE Historian) combine to show areas of trend
// Grey Candles are areas when trend not established
// Low Volume shows as Red Background
// ATR Bands for Visual Indication Only
// ATR based TP and SL/TSL prices/values to assist Risk Managed position sizing
// Tunable Exit Indicators
// Restrict Entry based on how far price has moved from Baseline (Default 1.5x ATR, Tunable)
// Tunable Continuation Criteria (SSL & ATR Based)
//
// Entry Indicated by a Blue Arrow Above/Below Candle in Direction of Price Movement
// Exit Indicated by a Red Arrow Above/Below Candle in Direction of Price Movement
//
//
// Coders/Modifiers, Code Sections made collapsable. Hide/Unhide indicatior by line number
//

版本注释
Revision 8 loses the separate multiplier for ATR Bands

ATR bands are now set via your TP & SL/TSL ATR multipliers (Default 1xATR & 1.5xATR).

TP Band displays in Blue, and SL/TSL band is in Red.

版本注释
ATR/Stop Position Text now changes colour when you have a valid entry.

Blue for Long Entry, Red for Short Entry.
版本注释
Added Ability to turn off Confirmation Indicators & Volume
版本注释
Large Update to match Revision 10 of NNFX Strategy Tester.

Added LOTS of C1 & C2 indicators, "1 Candle" and "A Bridge" too far rules.

Tidied up code and menus.

ATR Values Test turns Blue for a Long Entry, and Red for a Short Entry to make identifying entries a very quick process.

Alerts simplified simply to Long Entry, Short Entry, Long Exit and Short Exit.

Roadmap for new indicators to be added including WAE and a few others.

Please use my Strategy Version to test your Algo.
版本注释
Added EVZ Entry restriction & EVZ printed value under ATR Details
版本注释
Updated to match Strategy.

New C1 & C2 indictors, new Volume Indicators.

Bug fixes.
版本注释
Updated to match Version 30 of Strategy Tester.

Main differences are;

1. Currency Strength Filter
2. Added Extra C1 & C2 indicators
3. Added extra options to differentiate initial and continuations
4. Changed Text Colour for entry - Blue Long Entry, Red Short Entry, Grey no action, Yellow Exit Position

If you are backtesting Version 30 of the Strategy Tester you need this to use your Algo
algotradingMoving AveragesnnfxnononsensefxVolatilityVolume

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?

免责声明