No Nonsense NNFX VP Strategy for Back Testing | jh

My first script, be kind :)

Most of the rules are implemented:
- Money management
- ATR, Baseline, Confirmation, Volume , Exit

More details below.

//Designed per No Nonsense Forex VP rules
//Made to be as modular as possible, so we can swap the indicators in and out.
//Originated from causecelebre
//Tried to put in as much VP rules as possible

//Rules Implemented:
// - SL 1.5 x ATR
// - TP 1 x ATR
// - Entry conditions
//// - Entry within 1 candles of baseline + 1 x confirmation + volume
//// - Entry only if baseline is < 1 x ATR
// - Exit conditions
//// - Exit on exit indicator or when baseline or confirmation flip

//Trades entries
// - First entry L1 or S1 with standard SL and TP
// - Second entry L2 or S2 with standard SL and exit upon the exit conditions

//Included Indicators and settings
// - Baseline = HMA 20
// - Confirmtion = SSL 10
// - Volume = TDFI 4
// - Exit = RVI 4

// Strategy causecelebre
// TDFI causecelebre
// SSL Channel ErwinBeckers
Note di rilascio: Re-adjusted the logic to handle the 1 candle rule.
Note di rilascio: Added 2nd confirmation, Absolute Strength MTR Indicator.

Included indicators are just possible examples.

Obviously more testing and patience needed to get the right combination of indicators and settings :)
Note di rilascio: Changed to 0.1 lots per trade, this 400 USD or 2% of equity is not working out for me.

strategy.entry to strategy.order. Apparently strategy.entry is going to double the trade size as it takes it the other way.

Trade signal based on confirmation 2 (ASH).
Note di rilascio: Updated to version 4.
Added a label at the end explaining the various shapes plotted.
Most important change, ATR is correctly assigned upon confirmation signal.
Note di rilascio: Uploaded the corrected script.
Rimuovi dagli script preferiti Aggiungi agli script preferiti
Tip Jar :)

BTC: 37eLmtMHCVR3XZbZUM3PkxchtDYQ9wxXcb
BTH: qpj3rh3j55l0zyx6h5hg8xq2yj96rgq2kczvts3cnq
ETH: 0x9591c33a31b34E7006F299224C421822d096483D
ETC: 0x2Cb84658AaFc3CFe264885894A017339baFa77E3
LTC: M8hoJPkLLzcGG3U3bHpiCF4N11zt8msfsy



How is this indicator working out. I can see you were struggling with the 1.5 ATR loss and the 1 ATR Win rate. Im still struggling to comprehend how this plays out with my own version of the NNFX algo.

Would be good to hear back from you as share some ideas.

hi, this looks amazing and allot of work so much respect to you and thank you!
I just binge watched almost every NNFX playlist on youtube and read all the blogs on VP's site. Now...i don't have any programming skills. Where can i learn these to create an algo?
heezy Sparta_FX
Hi @Sparta_FX, I'm a bit like you.
Limited a programming skills although I can read and "understand" a bit what the code is doing.
I also want to massively test indicators according to VP's methodology. (His channel is absolute fire !)

Excel can definitely help. Just gotta export all the raw data first which is not very hard. Then recompute all the enter / exit formulas with the different parameters. I'm not saying it's easy but it's technically feasible.
I initially planned on doing this on excel but this pine script + strategy thing that I'm discovering right seems pretty dope.

Could some one tel me how to add this to my mt4. I keep getting about 25 errors and I don't know how to fix them. Thanks
+1 Rispondi
traderben10 Bambam13fox
@Bambam13fox, shout out i started my career as a 13F Fort Drumm New York and retired 18D Torri Station Okinawa Japan. snap back to reality. The codes used here Pine (i believe i just woke up and TBR keep me hazey until a coffee) and you want to convert it to MT4 MT5
GREAT WORK! How do you change emas and indicators or this just for what you coded?
+5 Rispondi
Wow! Found this while searching for indicators. I am just at the very beginning on my journey with VP. Very inspiring!
Good job! I found your contribution while searching for info on the strategy.order command, but my intention was also to implement my NNFX interpretation. Great minds think alike!
+1 Rispondi
gee_ell gee_ell
Hey also just a quick note... is your TDFI a repainter?
jiehonglim gee_ell
@gee_ell, hi nope it’s now. I tried that on one minute charts.
Home Screener azioni Screener forex Screener cripto Calendario economico Come funziona Caratteristiche Grafico Costi Invita un amico Regolamento Centro di supporto Soluzioni per broker & siti web Widget Librerie grafiche Libreria grafica leggera Blog & Novità Twitter
Profilo Impostazioni profilo Account e fatturazione Invita un amico I miei ticket di supporto Centro di supporto Idee pubblicate Follower Seguiti Messaggi Privati Chat Esci