Parabolic SAR Strategy

Strategies are published here.

Moderator: admin

Re: Parabolic SAR Strategy

Postby shaloiulabcde » Wed Sep 22, 2021 4:57 pm

can you please add a condition to the 'Allow strategy to trade' setting. Instead of the manual 'yes' or 'no' options, can this be automated based on an indicator for example ADX so that it changes from yes to no or vice versa if a condition on the indicator is met or not?

Apprentice wrote:
Parabolic SAR strategy.lua

Try this version.
shaloiulabcde
 
Posts: 13
Joined: Wed Mar 17, 2021 9:00 am

Re: Parabolic SAR Strategy

Postby Apprentice » Fri Sep 24, 2021 6:47 am

We can implement this in the strategy logic,
not in the strategy parameters.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 30496
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Parabolic SAR Strategy

Postby shaloiulabcde » Wed Sep 29, 2021 6:13 am

Apprentice wrote:We can implement this in the strategy logic,
not in the strategy parameters.


Ok can you please add to the strategy logic...ADX in this case needs to be measured on the D1 (daily) time frame. ADX > 25 - trade, ADX < 25 - don't trade.
shaloiulabcde
 
Posts: 13
Joined: Wed Mar 17, 2021 9:00 am

Re: Parabolic SAR Strategy

Postby Apprentice » Thu Sep 30, 2021 4:59 am

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


Previous

Return to Custom Strategies

Who is online

Users browsing this forum: No registered users and 7 guests