100% Mechanical PinBar system forex

100% Mechanical PinBar system forex 1

Operate of the thread
To get dialogue board members to assist in rising a long term worthwhile system that is 100% mechanical (i.e. might be traded with an EA) based mostly totally on PinBar candles. I am not constructive if that’s achievable.
In case you might be not sure what a PinBar is please search the dialogue board.

100% Mechanical PinBar system
The attached EA is for members to test and share their outcomes. Please put up the outcomes of your backtests using utterly completely different settings and timeframes.

Methods to reinforce are welcome nevertheless let’s try to carry it a straightforward as potential. Constructive criticism is welcome. I want to maintain the system 100% mechanical, i.e. no seller discretion, any filters should be programmable.

I’ll maintain this main put up updated with the newest variations of the EA, biggest strategies, current enchancment and lots of others.

Using the EA
The attached EA is to be used for backtests solely, not for dwell shopping for and promoting. I’ve been programming for decrease than a month, i.e. I’m an entire beginner programmer, the code would not cater for disconnects and lots of others and can probably wipe out your account.

What the EA does?
The EA will work on any foreign exchange pair or timeframe.

The EA would not cater for varied digit brokers; you might need in order so as to add a zero to your utterly completely different pips settings (e.g. 300 for 30 pips).

The EA identifies a PinBar based in your settings.

Substitute V1.2
– I’ve sorted out the problem the place stoporders are positioned too close to current price. I am not using market orders as usually price needs to be 1 pip from set off diploma. The EA will change the standard entry diploma by 1 to 2 pips to nonetheless allow for a stoporder. It could print you a message confirming the change.
– Open_vs_Close: If set to TRUE, for a qualifying prolonged entry the pinbar shut have to be above the open, reverse for transient entry.

Substitute V1.4
– Most important enchancment, EA now makes use of market orders, order points should be very restricted, please let me know must you experience any
– Minimim measurement of pinbar can now be determined by % of ATR
– EA will draw arrows above/beneath qualifying pinbars
– It is best to use TPtoSLRatio to set your TP diploma, i.e. you probably can select a hazard:reward ratio comparatively than a tough and quick number of pips

Substitute V1.5
– RSI, Stochastic, ADX filters added
– Descriptions added in EA setting to make clear the utterly completely different setting

>Download