The stop loss varies from 5 to 30 pips etc when new trade is started, TakeProfit remains steady. If we could keep the stoploss steady also, the losses would be lower.
I have put 5 ST and 5 TP yet after couple of trades, the ST starts to vary, even if the dynamic pips is false.
Also, sometimes, the EA opens multiple trades and does not close on color change.
I'm testing at 1M, keeping it as simple as possible.
There is no close on trend change on this Ea coded a version with it in and could not get it to be profitable, about the other problems you are having its my fault had hard coded the Take profit and Stoploss at a minimum of 10 pips just to be safe in case the range was small, or you wanted to use atr timeframe on a lower timeframe so now changed it so should be now however you put SSL and STP amount of pips and dynamic=false on both that should be your stoploss and takeprofit, but please test this i cant test while market is open it drags my laptop down too much!
I updated the version on the charts and I changed ATR to false for take profit value. So, the settings (version) which i am trading now (VQ_ Ea_v2 ecn-1a EA) - is on this post https://www.mql5.com/en/forum/general by default.
- Explanation of ATR settings is on this post.
- ATR + 15 pips settings: VQ_ Ea_v2 EA for normal and ECN/stp Metatrader's broker with default settings is on this post.
- ATR Stop Loss + Non-ATR 15 pips Take Profit settings: VQ_ Ea_v2 ecn-1a EA for normal and ECN/stp Metatrader's broker with default settings is on this post - there is no close on trend change on this EA coded a version with it.
- Non-ATR 5 pips Take Profit settings + Non-ATR 5 pips Stop Loss settings: VQ_ Ea_v3 ecn EA is on this post - It is the version with regular stop loss and take profit set by default to 5.
- statements for M1 timeframe for VQ_ Ea_v2 EA ecn with ATR + 15 pips settings is on this post.
- statements for M5 timeframe for VQ_ Ea_v2 ecn-1a EA ecn with ATR Stop Loss + Non-ATR 15 pips Take Profit settings - more to follow.
This new settings with improved EA are working good: it is about 100 dollars in profit since yesterday.
ATR Stop Loss + Non-ATR 15 pips Take Profit settings: VQ_ Ea_v2 ecn-1a EA for normal and ECN/stp Metatrader's broker with default settings is on this post - there is no close on trend change on this EA coded a version with it.
I will post the statements today later and will continue with this settings for M5 timeframe.
I backtested VQ_ Ea_v2 ecn-1a EA on EUR/USD 5min TF from 2004 till today:
As you can see, some deep falls occur from time to time and can wipe out accumulated profit and even destroy the account. In order to overcome this issue I suggest the following adjustment:
Add a safety feature to the EA: introduce a reverse option (sell instead of buy) from a trade level (to be setup by the user input) - let's say reverse trade starts from level 5 till max trade level (let's say 7). From trade level 5 to trade level 7 the EA opens trades in opposite direction.
Trade level 1: assuming first trade is a buy
From trade level 2 to level 4: buy (previous level's lots*multiplier)
From trade level 5 to max trade level 7: sell instead of buy - sell lots could be either equal to previous level's lots*multiplier or start from 1st level - there should be an input left to the user to choose whether opposite trade starts from 1st level lot or from the next level's lots of the original trade.
Path1: If the user wants the sell lots to start from the next level's lots of the original trade, then we typically have this scenario:
trade 1 to 4 are non profitable buys - so trade 5 will be sell with sell lots equal to previous level's lots*multiplier with same TP. So if price continue to go down, it will hit level 5's TP and the whole cycle closed. If price goes up, it will hit level 4's TP and the whole cycle closed. This way, there will be a maginal loss that helps to protect the account instead of loosing the whole accumulated profits or even destroying the account.
Path 2: If the user wants the sell lots to start from the 1st level (let's say 0.01) then we typically target this scenario:
in case the market reverses in a manner that makes the original trade come to profit, the opposite trade should then continue in the martingle and not closed with the original trade.
An EA input should give the user the choice to follow path 1 or path 2.
ATR Stop Loss + Non-ATR 15 pips Take Profit settings: VQ_ Ea_v2 ecn-1a EA for normal and ECN/stp Metatrader's broker with default settings is on this post.
Statements by pairs and visual statements are attached to this post (inside zip file).
So, I am continuing trading/forward testing using M5 timeframe for the following pairs:
It is the statementy for EURCHF:
It is for all the pairs all together:
other statements - see zip file attached.
This version with this settings is having stop loss for every trade. And this dynamic stop loss value is very small sometimes - it can be 20 pips, or 30 pips. So, it is safe situation.
I agree that it is not perfect but will see.
At least - everything is going well for now with almost all the pairs (just 1 loss for AUDNZD for 10 dollars).
What I like here is that martingale trades are not keeping opened for many days or weeks and it is closing quickly with new martingale cycle started using lot size 0.01. And ATR + 15 pips settings is more safe with this situation but I am trading ATR Stop Loss + Non-ATR 15 pips Take Profit settings as it is more profitable (M5 timeframe).
And I want to remind that EA was created originally for H1 timeframe ...
Anyway - will see. I will continue forward testing and will post the statements almost daily.
In this EA: "Volatility Quality EA 302martingle", we have:
"Hide SL" and "HideTP"
which means, everyone, I mean Hide Stop Loss and Take Profit Hide, as they are calculated (only an idea about programming to understand it better)?
PS. : You could make them visible on the graph of the price?
It was 2 martingale cycle with losses on the way as light-chair explained:
1 loss for GBPUSD yesterday and 1 loss for USDJPY today.
Generally - EA is performing good with this settings.
I will post the statements tomorrow (because there are still some open trade now for EURJPY.
newdigital...(Volatility Quality EA martingle 302)
You could make them ( ""Hide SL" and "HideTP"")visible on the graph of the price?