Strategy with PRC_SuperTrend Extended and PRC_Adaptive-ATR-ADX-Trend-V2
Forums › ProRealTime English forum › ProOrder support › Strategy with PRC_SuperTrend Extended and PRC_Adaptive-ATR-ADX-Trend-V2
- This topic has 11 replies, 5 voices, and was last updated 6 years ago by
Nicolas.
-
-
04/27/2019 at 11:24 AM #97248
just wrote a simple strategy and with 2 well known indicators here on the forum PRC_SuperTrend Extended and PRC_Adaptive-ATR-ADX-Trend-V2. However it is not working , maybe i got i wrong?
12345678910111213141516171819202122232425mySuperTrendExtended1, mySuperTrendExtended2 = CALL "PRC_SuperTrend Extended"[2.236, 66, 1, 10]myPRCAdaptiveATRADXTrendV2 = CALL "PRC_Adaptive-ATR-ADX-Trend-V2"[21, 3.5, 1.75, 14, 30, 0, 1](close)// Long entriesif not onmarket and close > mySuperTrendExtended1 and close > mySuperTrendExtended2 and close > myPRCAdaptiveATRADXTrendV2 thenbuy 1 SHARES AT MARKETendif// exit longif longonmarket and close < myPRCAdaptiveATRADXTrendV2 thenSELL AT MARKETendif//short etntriesif not onmarket and close < mySuperTrendExtended1 and close < mySuperTrendExtended2 and close < myPRCAdaptiveATRADXTrendV2 thensellshort 1 SHARES AT MARKETendif//exit shortif shortonmarket and close > myPRCAdaptiveATRADXTrendV2 thenexitshort at marketendif04/27/2019 at 11:49 AM #97250Some questions:
- Have you checked that those indicators, with the same settings, on your chart do show any trading signal the way you combined them?
- On which instrument and TF are you backtesting your strategy?
- What does exactly “it is not working” mean?
It appears not to have any syntax error, so it must be some logical errors. Or maybe they are not even errors, simply the way you combined those indicators may not yield any result (see question 1). For instance, if you want to enter a position when two averages show a bullish crossover while macd crosses under the zero line, well… guess what?
04/27/2019 at 12:22 PM #9725204/27/2019 at 1:09 PM #97255Glad to know that GraHal, so it’s much simpler than expected, it’s just a matter of using another instrument and/or another TF.
1 user thanked author for this post.
04/27/2019 at 3:43 PM #97257I tried on 1 hour gold.
1. I checked my settings inn chart and code and they are the same.
2. It enter the first trade and then never exit.
Grahal if you try 1 hour on gold what results are you getting then ?
1 user thanked author for this post.
04/27/2019 at 4:34 PM #97261Grahal if you try 1 hour on gold what results are you getting then ?
Lawds and lawds of trades, but I’m now bankrupt!! 🙂
04/27/2019 at 4:48 PM #9726304/27/2019 at 5:01 PM #9726504/27/2019 at 5:03 PM #9726804/27/2019 at 6:21 PM #9727004/27/2019 at 6:23 PM #9727105/09/2019 at 8:57 AM #98027 -
AuthorPosts
Find exclusive trading pro-tools on