Proscreener – Ichimoku / 3 timeframes
Forums › ProRealTime forum Français › Support ProScreener › Proscreener – Ichimoku / 3 timeframes
- This topic has 1 reply, 2 voices, and was last updated 2 years ago by robertogozzi.
-
-
07/18/2022 at 10:05 PM #197472
Bonjour,
Je tente de créer un Proscreener basé sur Ichimoku et utilisant 3 Unités de temps (Monthly, Weekly et Daily).
Les conditions pour obtenir un signal d’achat sont les suivantes :
– Etre en tendance haussière sur le Monthly (SpanA > SpanB).
– Etre en tendance haussière sur le Weekly (SpanA > SpanB).
– Avoir les signaux suivant sur le Daily (UT de prise de position) :
-> Senkou Span A > Senkou Span B (nuage haussier)
-> Tenkan > Senkou Span A (Tenkan libérée)
-> Kijun > Tenkan (Kijun libérée)
-> Dernière bougie supérieur Kijun (breakout Kijun)
-> Chikou > au cours retardé (chikou libérée)J’ai rédigé le code ci-dessous.
Néanmoins, quand je l’exécute, je reçois le message en PJ.
Il m’indique que les conditions que j’ai défini ne le sont pas.
Pouvez-vous m’aider, s’il vous plait ?Vous trouverez ci-dessous, le code de mon Proscreener :
Merci d’avance.
—————————————————————————————————
Hello,I am trying to create a Proscreener based on Ichimoku and using 3 Time Units (Monthly, Weekly and Daily).
The conditions for obtaining a buy signal are as follows:
– Bullish trend on the Monthly (SpanA > SpanB).
– Bullish trend on the Weekly (SpanA > SpanB).
– Have the following signals on the Daily (UT of trade position):
-> Senkou Span A > Senkou Span B (bullish cloud)
-> Tenkan > Senkou Span A (Tenkan released)
-> Kijun > Tenkan (Kijun released)
-> Last candle upper Kijun (breakout Kijun)
-> Chikou > at the delayed price (chikou released)I have written the prorealcode below.
However, when I run it, I get the message in PJ.
It tells me that the conditions I have defined are not.
Can you help me, please ? Thanks in advance.You will find below, the code of my Proscreener.PROREALCODE :
/*————————————MONTHLY————————————*/
/*——Fenêtre de temps——*/
TIMEFRAME (monthly)/*—-Indicateur—- */
TenkanM = (highest[9](high)+lowest[9](low))/2
KijunM = (highest[26](high)+lowest[26](low))/2
SpanMA = (TenkanM[26]+KijunM[26])/2
SpanMB = (highest[52](high[26])+lowest[52](low[26]))/2/*——Condition——*/
C0 = SpanMA > SpanMB/*————————————WEEKLY————————————*/
/*——Fenêtre de temps——*/
TIMEFRAME (weekly)/*—-Indicateur—- */
TenkanW = (highest[9](high)+lowest[9](low))/2
KijunW = (highest[26](high)+lowest[26](low))/2
SpanWA = (TenkanW[26]+KijunW[26])/2
SpanWB = (highest[52](high[26])+lowest[52](low[26]))/2/*——Condition——*/
C01 = SpanWA > SpanWB/*————————————DAILY————————————*/
/*——Fenêtre de temps——*/
TIMEFRAME (daily)/*—-Indicateur—- */
Tenkan = (highest[9](high)+lowest[9](low))/2
Kijun = (highest[26](high)+lowest[26](low))/2
SpanA = (Tenkan[26]+Kijun[26])/2
SpanB = (highest[52](high[26])+lowest[52](low[26]))/2
Chikou = close[26]/*——Conditions——*/
C1 = SpanA > SpanB // nuage haussier
C2 = close > SpanA // prix > nuage
C3 = Kijun > Tenkan // kijun > tenkan
C4 = close crosses over Kijun // prix > kijun
C5 = close > Chikou // prix retardé de 26 périodes > prix actuel/*—————SCREENER——————*/
Screener[C0 and C01 and C1 and C2 and C3 and C4 and C5]08/29/2022 at 9:35 AM #199781Cela marche. J’ai supprimé de nombreux commentaires. Peut-être y avait-il des caractères supplémentaires non ASCII dans le texte.
J’ai également ajouté D aux variables Daily (mais je ne pense pas que cela ait affecté le résultat):123456789101112131415161718192021222324252627TIMEFRAME (monthly)TenkanM = (highest[9](high)+lowest[9](low))/2KijunM = (highest[26](high)+lowest[26](low))/2SpanMA = (TenkanM[26]+KijunM[26])/2SpanMB = (highest[52](high[26])+lowest[52](low[26]))/2C0 = SpanMA > SpanMB//TIMEFRAME (weekly)TenkanW = (highest[9](high)+lowest[9](low))/2KijunW = (highest[26](high)+lowest[26](low))/2SpanWA = (TenkanW[26]+KijunW[26])/2SpanWB = (highest[52](high[26])+lowest[52](low[26]))/2C01 = SpanWA > SpanWB//TIMEFRAME (daily)TenkanD = (highest[9](high)+lowest[9](low))/2KijunD = (highest[26](high)+lowest[26](low))/2SpanDA = (TenkanD[26]+KijunD[26])/2SpanDB = (highest[52](high[26])+lowest[52](low[26]))/2ChikouD = close[26]C1 = SpanDA > SpanDB // nuage haussierC2 = close > SpanDA // prix > nuageC3 = KijunD > TenkanD // kijun > tenkanC4 = close crosses over KijunD // prix > kijunC5 = close > ChikouD // prix retardé de 26 périodes > prix actuel//Screener[C0 and C01 and C1 and C2 and C3 and C4 and C5] -
AuthorPosts
Find exclusive trading pro-tools on