Is this trading strategy paramater possible? (TS2)

If you need an Indicator or Signal developed or translated from other language, please post all Indicator development REQUESTS to this section here.

Moderator: admin

Is this trading strategy paramater possible? (TS2)

Postby OzzyTrader » Sat Jul 04, 2020 11:29 pm

Is it possible to create this function to determine the allowed trade direction. Under the normal trade direction indicator the options would be. BUY, SELL, BOTH.

However I want it to automaticaly set the trade direction based on the reading froma a 4hr RSI level.
For example: Lets assume we are creating a stochastic strategy on the m15 candle. If 15 minute stochastic triggers a buy signal but the 4hr rsi is below 50 it would only allow sell trades. Likewise if the RSI on the 4hr goes above 50 then it will only allow buy trades.
This paramater should be able to tbe turned on and off if you want to apply it. Another feature of the paramater that need to be editied is the number of periods for the RSI indicator.

cheers
Iain
OzzyTrader
 
Posts: 54
Joined: Sun Aug 25, 2019 10:34 am


Re: Is this trading strategy paramater possible? (TS2)

Postby OzzyTrader » Tue Jul 07, 2020 3:55 am

Awesome. I have attached the Stochastic Strategy.lua file I would like this paramater added to. I think it could be beneficial to have this feature when trading lower time frames.

Cheers
Attachments
Stochastic_Strategy.lua
Stochastic
(73 KiB) Downloaded 227 times
OzzyTrader
 
Posts: 54
Joined: Sun Aug 25, 2019 10:34 am

Re: Is this trading strategy paramater possible? (TS2)

Postby Apprentice » Tue Jul 07, 2020 8:07 am

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


Re: Is this trading strategy paramater possible? (TS2)

Postby OzzyTrader » Thu Jul 09, 2020 12:20 am

Excellent, I have added some comments on the behaviour of this strategy to the thread you posted.

Can you please add the same functionality to this RSI EMA strategy. See attached.

Cheers
Attachments
RSI EMA Strategy v2.lua
(33.51 KiB) Downloaded 217 times
OzzyTrader
 
Posts: 54
Joined: Sun Aug 25, 2019 10:34 am

Re: Is this trading strategy paramater possible? (TS2)

Postby Apprentice » Thu Jul 09, 2020 4:36 am

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

Re: Is this trading strategy paramater possible? (TS2)

Postby Apprentice » Fri Jul 10, 2020 5:09 am

I don't understand what needs to be done.
Can you provide a detailed description?
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36476
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Is this trading strategy paramater possible? (TS2)

Postby OzzyTrader » Fri Jul 10, 2020 5:47 am

exact same thing as was done on the stochastic strategy.

Need to add the ability to determine the allowed trade direction based on a 4hr rsi reading

RSI Filter
Use RSI filter YES/NO
Use Period "select number of periods."
RSI Timeframe "select time frame"

even though this a RSI strategy already it doesn't have the ability to determine the "Allowed side" automatically based on a longer time frame RSI reading.
OzzyTrader
 
Posts: 54
Joined: Sun Aug 25, 2019 10:34 am



Return to Indicator and Signal Requests

Who is online

Users browsing this forum: mahi kahn and 20 guests