ExtraTrend Automated algo
- This topic has 3 replies, 3 voices, and was last updated 3 years ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
Similar topics:
Forums › ProRealTime English forum › General trading discussions › ExtraTrend Automated algo
Hi.
I am a beginner, and have just bought my first indicator.
I would like to ask for help creating a strategy-file based on two indicators .
The indicators:
- Extratrend – https://market.prorealcode.com/product/extratrend-an-indicator-for-technical-traders-and-chartists/
- Screener pour afficher les débuts de tendance de l’indicateur ExtraTrend conforme Ichimoku – https://www.prorealcode.com/topic/extratrend-exemples-de-codage-screeners-et-programmation-personnalisee/page/3/#post-171211
Screener - ExtraTrend
12345678910111213141516171819202122232425262728293031323334 //****************************************************************//Screener pour afficher les débuts de tendance de l'indicateur ExtraTrend conforme Ichimoku//****************************************************************//Conditions ExtraTrend haussemyTrend, ignored, myExpansion = CALL "ExtraTrend"[0, 0, 0, 0, 0](close)uptrend = myTrend <> myExpansion //ExtraTrend bande bleuenewUpTrend = uptrend and not uptrend[1] //nouvelle tendance haussière (bande bleue)if newUpTrend thensignal = 1elsesignal = 0endif//Conditions de volumeconditionVolume = Average[20](volume) > 10000//Conditions IchimokuTENKAN = (highest[9](high) + lowest[9](low))/2KIJUN = (highest[26](high) + lowest[26](low))/2LS = closeSSA = (tenkan[26]+kijun[26])/2SSB = (highest[52](high[26])+lowest[52](low[26]))/2conditionSSASSB = close > SSA AND close > SSBconditionKIJUN = close > KIJUNconditionsTENKAN = close > TENKANconditionsLS = LS > KIJUN[26] AND LS > high[26] //LS au-dessus des prix et de la Kijun//Pour être encore plus restrictif avec LS au-dessus du nuage : LS > SSA[26] AND LS > SSB[26]//Lancement screenerscreener[newUpTrend AND conditionVolume AND conditionSSASSB AND conditionKIJUN AND conditionsTENKAN AND conditionsLS] (signal as "Trend")
Thanks in advance. Maybe Procoders like robertogozzi grahhl or Nicolas can help me?
There you go (of course I couldn’t check it as I don’t have that indicator):
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 |
//Conditions ExtraTrend hausse myTrend, ignored, myExpansion = CALL "ExtraTrend"[0, 0, 0, 0, 0](close) uptrend = myTrend <> myExpansion //ExtraTrend bande bleue newUpTrend = uptrend and not uptrend[1] //nouvelle tendance haussière (bande bleue) if newUpTrend then signal = 1 else signal = 0 endif //Conditions de volume conditionVolume = Average[20](volume) > 10000 //Conditions Ichimoku TENKAN = (highest[9](high) + lowest[9](low))/2 KIJUN = (highest[26](high) + lowest[26](low))/2 LS = close SSA = (tenkan[26]+kijun[26])/2 SSB = (highest[52](high[26])+lowest[52](low[26]))/2 conditionSSASSB = close > SSA AND close > SSB conditionKIJUN = close > KIJUN conditionsTENKAN = close > TENKAN conditionsLS = LS > KIJUN[26] AND LS > high[26] //LS au-dessus des prix et de la Kijun //Pour être encore plus restrictif avec LS au-dessus du nuage : LS > SSA[26] AND LS > SSB[26] //Long Conditions CondL = newUpTrend AND conditionVolume AND conditionSSASSB AND conditionKIJUN AND conditionsTENKAN AND conditionsLS IF CondL THEN BUY 1 CONTRACT AT MARKET ENDIF SET STOP pLOSS 100 SET TARGET pPROFIT 300 |
This forum is amazing. Thanks alot robertogozzi
I think its strange that backtest say no orders på equity-curve does. Look att the image
Because the trade has not been closed yet
Find exclusive trading pro-tools on