NNFX Template File
-
Has anyone successfully developed an EA following VP's NNFX (No Nonsense Forex) Rules.
Buy Rules:
Baseline Indicator - Buy above (max 1 ATR above baseline)
C1 - Confirmation Indicator - Buy signal
C2 - Confirmation Indicator - Buy signal
Volume Indicator - Buy signal
Buy - 1% Risk Take Profit at 1 x ATR, SL - 1.5 x ATR
Buy - 1% Risk No TP or SL (Exit on baseline cross or exit indicator signal) -
@money123456 yes
-
Any chance you can share a look?. here is mine so far but am struggling with the
1xATR from baseline rule
-
@money123456 I have no ready algo, yet. I started fxdreema 1-2 weeks ago so I'm not the experienced one around here.
Here you can see some of my "trials" to give you an idea no1. My project still has a flaw somewhere. Probably I used the flags too heavily :))
But maybe some ideas we can share. -
@money123456 I'm not a real MQL4 coder, but I took the challenge to add ATR bands to JMA indicator (token from McGinley). Hence, the work and rights an whatever belong to the people that invented those indicators.
I tested it and looked good. You may easily just check against the Buffers named "Upper ATR Band" or "Lower ATR Band" in a condition block.
0_1567530329424_jma_sl_atr_bands.mq4Hope that helps you a bit.
-
-
@specialfx I like the fractals idea. However, fractals as far as I know based on zigzag indicator. That means, a new lower fractal can only be confirmed, if a new high fractal occurs. How does your indicator deal with that? Would it reprint the last fractal until the opposite fractal is available?

Have a look at my indicator. There will be a baseline signal soon, but it doesn't print the last down fractal as it is not confirmed, yet.
-
@trader-philipps I'm afraid that's not quite right, fractals are a mathematical feature in their own right, and in order to form one all you need is 5 candles. A fractal is formed when the third (middle) candle marks a trend reversal, so in very basic terms let's say the first two candles move lower, the low is rejected in the third candle and price subsequently moves up in the fourth and fifth candles - in this instance a downward fractal would be formed. In order to form an upward fractal you would simply reverse the price movements I've just described.
It is entirely possible for multiple downward or upward fractals to form in succession, here's an example taken from the s&p 500 daily chart at the start of this year:

Personally I find fractals fascinating, hence my ill-fated attempts to work them into a trading bot. Bill Williams gives an excellent lecture on them here in this ancient video:
https://www.youtube.com/watch?v=bNxt298VVOw
So back to the point - my system doesn't account for the zig-zag indicator business because they're not related. Clearly though I am setting something up wrong as my bot will only sell

-
@specialfx Maybe it is something wrong with the buffers output, in one of the indicators. Everything is done as for sell, so it should work. You can check the buffers with this indicator.
https://fxdreema.com/forum/topic/7612/useful-buffers-explorer-indicator-find -
@specialfx Okay, I'm not so deep in fractals. However, may I ask you to share that indicator? I like 123 entries yor approach seems to go in that direction.
-
@cpxiom Thanks - how do I use this? Do I open the EA in metatrader and put it on the chart along with the indicator?
-
@specialfx No, you load the indicators on the chart, then buffer explorer. On the input tab you specify the name of the indicator you want to check, and the buffers. It will give you a visual representation of what buffer does what.
You can see the number of buffers, order and color, on the colors tab of any indicator. (So you know what to check) -
@money123456 dont use *10000 and make it like this

-
-
@fabien-s so the variable should be double type
-
@Fabien-S On the Formula, shall we use candle 1 for more setting under ATR period 14?
Thanks
-
@traderea6 yes
