pivot-ma-price cloud strategy

Strategies are published here.

Moderator: admin

pivot-ma-price cloud strategy

Postby Apprentice » Thu Sep 17, 2020 3:23 am

1.png

2.png

Based on indicator
viewtopic.php?f=17&t=69723
Open long when it's green and open short when it's red.
Close on opposite or with position limit.
pivot-ma-price cloud strategy.lua
(23.36 KiB) Downloaded 401 times


MT4/MQ4 version.
viewtopic.php?f=38&t=70609&p=138767#p138767
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: pivot-ma-price cloud strategy

Postby Infime » Mon Sep 21, 2020 3:08 pm

Hello,
Nice thanks ! Can you add breakeven please ?
Thanks :)
Infime
 
Posts: 47
Joined: Thu Aug 22, 2019 11:44 am

Re: pivot-ma-price cloud strategy

Postby Apprentice » Tue Sep 22, 2020 2:42 am

Your request is added to the development list.
Development reference 2079.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: pivot-ma-price cloud strategy

Postby Apprentice » Tue Sep 22, 2020 5:24 am

pivot-ma-price cloud strategy.lua
(108.84 KiB) Downloaded 376 times

Try this version.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: pivot-ma-price cloud strategy

Postby Infime » Wed Sep 23, 2020 11:20 am

Nice !
But I have a one more suggestion.
Can you add a max Drawdown % for all opened positions - close the position(s) when the drawdown is dropping below a % level.

Thanks a lot !
Infime
 
Posts: 47
Joined: Thu Aug 22, 2019 11:44 am

Re: pivot-ma-price cloud strategy

Postby Infime » Mon Oct 05, 2020 8:51 am

Do you have some news about my request ?
Thanks :)
Infime
 
Posts: 47
Joined: Thu Aug 22, 2019 11:44 am


Re: pivot-ma-price cloud strategy

Postby Infime » Thu Oct 08, 2020 2:12 am

The last version is not what I exactly asked.
I explain : On the strategy I have a big drowdown and I want to limit this.
Delete the last request and fix the daily closing positions. Because it doesn't work. So my new request is : Fix or add a option to close all positions at the end of the day.
Thanks. I hope it will work.
Infime
 
Posts: 47
Joined: Thu Aug 22, 2019 11:44 am

Re: pivot-ma-price cloud strategy

Postby Apprentice » Thu Oct 08, 2020 2:22 am

Your request is added to the development list.
Development reference 2162.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: pivot-ma-price cloud strategy

Postby Apprentice » Thu Oct 08, 2020 6:12 am

Such option already exists: "Use Mandatory Closing"
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Next

Return to Custom Strategies

Who is online

Users browsing this forum: Majestic-12 [Bot] and 13 guests