• Welcome back! Thank you for being a part of this Traders Community. Let's discuss and share :)
    Selamat datang kembali! Trimakasih telah menjadi bagian dari Komunitas Trader ini. Mari berdiskusi dan berbagi :)

New EA TRIANGULAR PRICE CORRECTION

25... Did your H1 strategy fail??? What were your settings?? Currently, I am running an M5 (fixed lot 0.08) and M15 (fixed lot 0.10) which are holding on well with a $3k start balance.

Also, does anyone know where Leppozdrav went to since he has not commented or offered when his update will be available? :)


Sent from SoeHoe.ID mobile apps

Unfortunately it did.

Settings as follow:
balance: 1000 usd
lot: 0.05
Broker: pepperstone


At start it was all fine, even survived very large drawdowns and gained 100% profit in just two weeks or something like that, but long bear trend killed it in fourth week. It had potential, but to many orders were opened , overheld and this killed the balance.

How long has your version been running ?

Still, despite all that , I think that this EA can have a chance, but needs to be based on different pairs, involving not AUD but maybe JPY or some else.

Had Also an idea what if we could switch the orders, for example instead of sell make EA buy and vice versa. Everythig rest should remain the same, but unfortunately I have not enough knowledge in mq4 to change these parameters.
 
25... I still am using TF15min. I started the week using 0.10 lots then moved to 0.20 lots om Thursday. I had an average OPs of only 10. The max OPs were 25 which is still low. The account has been running for this week only and took $1325 in profits on demo which was started with only $3000 and a 1:500 leverage. It even survived the NFP report from today. Currently, I only have -$55 float which is excellent. I know my lots are high, but it gives me confidence to drop the lots to 0.05 with $3000 and it should be safe.

So lets see whay happens next week. Oh one last thought... I think any Super Trend will kill the account which is why I watch it constantly. If that occurs I will move my TF to H1 to control the OPs until the Super Trend is over or close all OPs to end trading until trend is over but take the negitive hit. Doing such should allow your account to survive if it has profits banked up already. In other words, you should be willing to take hit on your profits but not your original capital. So far this week the pairs floated in about a 150 pips range. So lets see what happens. How did you do? Or anyone else out there?

:)

Sent from SoeHoe.ID mobile apps

Hey,

Your strategy looks very nice. I can only say that it would be very hard to define where and when will the super trend begin. If you know this you can easily hedge the system.
How are you doing ?
 
Hey guys,

I am really sorry for my late reply.
I am glad some of you are still testing the ea. I haven't forgot about the ea. I will share the ea today, when i get back home.
Right now i am writing from mobile, so i don't have it by my side.

I will share the new mql source code, totally rewriten code,
free of bugs, with trend folowing option and hedging option as well. Ea can last a bit longer but it will eventualy still escape to losses. It needs to be constantly monitored. I am still not satisfied with it...but like i said, I will share it today and maybe we can find new solution for it.

Bare with me.
 
Last edited:
Here it is,

Completely rewritten code and also bug free now.

Additional parameters were added:

1. Trend following option:
You have now option for trades to follow higher trend. You can chose up to 3 higher time frames in parameters.
For example: 60min, 240min and 1440min, This means, trades will be only opened, when price will be above all 3 higher candles open lines.
When price will be in between, it is considered as ranging market and Ea will not take additional trades. You can also set all 3 open lines to the same time frame.
For example: 60min, 60min, 60min....this means Ea will open buys only above 60min and sell trades only below 60min. You can set open lines up to weekly time frame.

Here are 2 pictures of explanation of trend following parameter, for better understanding:

trading_example.png


Example_2.png


2. Hedging option:
There is also an option to hedge trades now. How this works is, is that you can chose after how many losing trades, a hedge option should be activated.
For example: Let's say you trade with 0,1 lots and you set in hedge parameter 4, that means that after 4 losing trades with 0,1 lots EA will open an opposite hedge order
with lot 0.5 (0.1 * 4 + 0.1). It will not open any additional trades, until hedge order and all the losing trades are closed. You have an option to set this parameter on or off.

There is also trailing stop option and trading hours option.
These are currently new bells and whistles regarding this Hedging EA.

While writing this, I just had another brain fart, to have the opposite option. Instead of EA following the trend logic, it could be used to trade only in ranging market and not trade, when trending. But for now, I'll leave it here for you guys and testing purposes, and maybe add that later. I am open for new ideas and suggestions, and further testing.
I have also added one experimental SET file, for you to start playing and testing with. Ea can be also backtested, so feel free to abuse that mt4 backtester :)


Keep us posted and best regards.
 

Attachments

Last edited:
Sadly there is a zero divide error.
2018.03.23 17:59:26.248 2017.01.02 00:00:00 Triangular_Price_Correction_Hedge EURUSD,H1: zero divide in 'Triangular_Price_Correction_Hedge .mq4' (395,63)

For back-testing. I am unsure on how to back-test this EA.
 
Last edited:
Sadly there is a zero divide error.
2018.03.23 17:59:26.248 2017.01.02 00:00:00 Triangular_Price_Correction_Hedge EURUSD,H1: zero divide in 'Triangular_Price_Correction_Hedge .mq4' (395,63)

For back-testing. I am unsure on how to back-test this EA.

Hi,
No errors on my side.
For backtesting, you need to download history for all 3 pairs. Eurusd,Euraud,Audusd in your Metatrader. You need to have them in your Market Watch window.
Then you can backtest it.
 
Hi,
No errors on my side.
For backtesting, you need to download history for all 3 pairs. Eurusd,Euraud,Audusd in your Metatrader. You need to have them in your Market Watch window.
Then you can backtest it.
Thank you sir. Ronz Auto TP/SL may work well with this.
 
Here it is,

Completely rewritten code and also bug free now.

Additional parameters were added:

1. Trend following option:
You have now option for trades to follow higher trend. You can chose up to 3 higher time frames in parameters.
For example: 60min, 240min and 1440min, This means, trades will be only opened, when price will be above all 3 higher candles open lines.
When price will be in between, it is considered as ranging market and Ea will not take additional trades. You can also set all 3 open lines to the same time frame.
For example: 60min, 60min, 60min....this means Ea will open buys only above 60min and sell trades only below 60min. You can set open lines up to weekly time frame.

Here are 2 pictures of explanation of trend following parameter, for better understanding:

trading_example.png


Example_2.png


2. Hedging option:
There is also an option to hedge trades now. How this works is, is that you can chose after how many losing trades, a hedge option should be activated.
For example: Let's say you trade with 0,1 lots and you set in hedge parameter 4, that means that after 4 losing trades with 0,1 lots EA will open an opposite hedge order
with lot 0.5 (0.1 * 4 + 0.1). It will not open any additional trades, until hedge order and all the losing trades are closed. You have an option to set this parameter on or off.

There is also trailing stop option and trading hours option.
These are currently new bells and whistles regarding this Hedging EA.

While writing this, I just had another brain fart, to have the opposite option. Instead of EA following the trend logic, it could be used to trade only in ranging market and not trade, when trending. But for now, I'll leave it here for you guys and testing purposes, and maybe add that later. I am open for new ideas and suggestions, and further testing.
I have also added one experimental SET file, for you to start playing and testing with. Ea can be also backtested, so feel free to abuse that mt4 backtester :)


Keep us posted and best regards.

Setting is EURUSD M1 one chart ?
 
Setting is EURUSD M1 one chart ?

Ea works only on Eurusd pair, because of triangular arbitrage logic behind it.
Yes, i was experimenting with 1M timefrime.

But you can test other time frames and settings as well....I am sure there are many ways to do it.
 
Last edited:
hi, What were results for last two previous weeks ?
Can you share statement like before ?
We had very newsy (!) for these two weeks

and Final question is , What is your plan for using VPS's , proper Broker and other useful suggestions ?
 
hi, What were results for last two previous weeks ?
Can you share statement like before ?
We had very newsy (!) for these two weeks

and Final question is , What is your plan for using VPS's , proper Broker and other useful suggestions ?

I would advise any Ecn broker, with floating spread below 2 pips.

The set file, that I have uploaded is just something to start working on and it might help you find some of your own settings.
That one might not survive the last 2 weeks of big news....but there are ways to make it safer and tweak it in a way, so it can survive (last 2 weeks).
It's still a risky Ea, but most of quick profits Ea's are by default riskier then others.
There are many options now in Ea, you just need to find the best ones for you......

Here are the last 2 weeks with some extra tweaking being done :)
500$ / 0,01 lots, from 10.3. - 24.3.2018
Every tick / 25% is the most you can get on 1M chart.
Strategy_Tester.gif
 
I would advise any Ecn broker, with floating spread below 2 pips.

The set file, that I have uploaded is just something to start working on and it might help you find some of your own settings.
That one might not survive the last 2 weeks of big news....but there are ways to make it safer and tweak it in a way, so it can survive (last 2 weeks).
It's still a risky Ea, but most of quick profits Ea's are by default riskier then others.
There are many options now in Ea, you just need to find the best ones for you......

Here are the last 2 weeks with some extra tweaking being done :)
500$ / 0,01 lots, from 10.3. - 24.3.2018
Every tick / 25% is the most you can get on 1M chart.
Strategy_Tester.gif


Your Triangular_Price_Correction_Hedge
&
Your Set file

I attached a trade.
Please look.

Trede is almost lose the fee.

Please improve.
 

Attachments

  • DetailedStatement.gif
    DetailedStatement.gif
    5.4 KB · Views: 148
Your Triangular_Price_Correction_Hedge
&
Your Set file

I attached a trade.
Please look.

Trede is almost lose the fee.

Please improve.
That doesn't seem right....what is your spread setting in mt4 backtest? Maybe it's set too high.

Set it to 2. And try again.

And please don't take that set file for granted....it's just an experimental stuff.

Although this ea has flaws and it's not a holly grail, your equity curve shouldn't look like this. Ea should make positive equity curve....so I think there must be a mistake in your backtester settings.

Please let me know, if you will find the problem.
 
That doesn't seem right....what is your spread setting in mt4 backtest? Maybe it's set too high.

Set it to 2. And try again.

And please don't take that set file for granted....it's just an experimental stuff.

Although this ea has flaws and it's not a holly grail, your equity curve shouldn't look like this. Ea should make positive equity curve....so I think there must be a mistake in your backtester settings.

Please let me know, if you will find the problem.

NO, This is not Backtest.
Today trade !
 
IC Mark
That doesn't seem right....what is your spread setting in mt4 backtest? Maybe it's set too high.

Set it to 2. And try again.

And please don't take that set file for granted....it's just an experimental stuff.

Although this ea has flaws and it's not a holly grail, your equity curve shouldn't look like this. Ea should make positive equity curve....so I think there must be a mistake in your backtester settings.

Please let me know, if you will find the problem.

IC markets true ECN account ! Today trade !
 
Back
Top