Heiken Ashi Ma T3 indicator Strategy

Strategies are published here.

Moderator: admin

Heiken Ashi Ma T3 indicator Strategy

Postby Apprentice » Fri Dec 29, 2017 9:07 am

1.png

2.png

Open Long on Up color.
Open Short on Down color.
Heiken Ashi Ma T3 indicator Strategy.lua
(25.53 KiB) Downloaded 770 times



Optionnal "Breakeven" after x pips of profit added.

Heiken Ashi Ma T3 indicators is available here.
viewtopic.php?f=17&t=59572

20 in 1 Moving Average Indicator a.k.a. Averages is available here.
viewtopic.php?f=17&t=2430

T3_MA.lua is available here.
viewtopic.php?f=17&t=60294
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Heiken Ashi Ma T3 indicator Strategy

Postby papynou34 » Wed Jan 03, 2018 7:29 pm

Thanks a lot Apprentice, it is working well.
papynou34
FXCodeBase: Initiate
 
Posts: 130
Joined: Fri Mar 27, 2015 6:52 pm

Re: Heiken Ashi Ma T3 indicator Strategy

Postby papynou34 » Fri Jan 05, 2018 11:43 am

Hello,
Is it possible to add to the strategy an optionnal "Breakeven" after x pips of profit?

Thans a lot in davance.
papynou34
FXCodeBase: Initiate
 
Posts: 130
Joined: Fri Mar 27, 2015 6:52 pm

Re: Heiken Ashi Ma T3 indicator Strategy

Postby Apprentice » Sat Jan 06, 2018 8:18 am

Your request is added to the development list under Id Number 4000
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Heiken Ashi Ma T3 indicator Strategy

Postby Apprentice » Sun Jan 07, 2018 5:12 am

Heiken Ashi Ma T3 indicator Strategy with Breakeven.lua added.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Heiken Ashi Ma T3 indicator Strategy

Postby papynou34 » Mon Jan 08, 2018 9:24 am

Hello Apprentice,
First of all, I would like to thank you for the more than quick job.

I tested the new HA MA T3 indicator with breakeven, and it seems to me there is a problem with.

I did a backtes from the 04/01/2017 to 31/12/2017 datas, and it seems that all is stopped on the 12 of february.
A pictures is bette than an explanation, you will find hereafter =
-picture of Heiken Ashi Ma T3 indicator Strategy without Breakeven. (Bug2)
-picture of Heiken Ashi Ma T3 indicator Strategy with Breakeven. (Bug1)

Please let me know if you need further explanation.
Attachments
bug2.PNG
bug1.PNG
papynou34
FXCodeBase: Initiate
 
Posts: 130
Joined: Fri Mar 27, 2015 6:52 pm

Re: Heiken Ashi Ma T3 indicator Strategy

Postby Apprentice » Tue Jan 09, 2018 1:34 pm

I did figure out what it was. If you disables close on opposite. So the position can be closed by stop only. And as you can see (I draw the line where the "last" stop order is placed) it should never close. Position cap is one. So no other trades are opened as well. It looks like it works fine. Non-breakeven version likely opens trades on different signals and have not locked itself in such situation when the price goes only up.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Heiken Ashi Ma T3 indicator Strategy

Postby papynou34 » Tue Jan 09, 2018 7:19 pm

Thanks a lot for the explanation.
To "solve this issue" is it possible to continue to have a trailing stop after it goes to BE if it is precised at the first opened order?
papynou34
FXCodeBase: Initiate
 
Posts: 130
Joined: Fri Mar 27, 2015 6:52 pm


Re: Heiken Ashi Ma T3 indicator Strategy

Postby papynou34 » Wed Jan 10, 2018 1:27 pm

Hello Apprentice,
Thanks
Seems to work better, I will test it in real mode to-morrow, and will let you know the result.
papynou34
FXCodeBase: Initiate
 
Posts: 130
Joined: Fri Mar 27, 2015 6:52 pm

Next

Return to Custom Strategies

Who is online

Users browsing this forum: No registered users and 17 guests

cron