Erreur d'indicateur
Forums › ProRealTime forum Français › Support ProBuilder › Erreur d'indicateur
- This topic has 5 replies, 3 voices, and was last updated 5 years ago by fifi743.
-
-
09/24/2019 at 6:35 PM #108378
Bonjour, je ne réussis pas à rajouter l’indicateur ci-dessous sur pro real time
Un message d’erreur s’affiche sur les lignes 11 et 12
Je ne vois pas l’erreur car je ne suis pas programmateur
Pouvez vous m’aider?
Je vous remercie d’avance
1234567891011121314//1indicator1 = BollingerUp[20](typicalPrice)indicator2 = BollingerDown[20](typicalPrice)c1 = (indicator1 > indicator1[1]) and (indicator2 < indicator2[1]) and (high> indicator1)c2 = (indicator1[1] > indicator1[2])and (indicator2[1] < indicator2[2]) and (high[1]> indicator1[1])c3 = (indicator1[2] > indicator1[3])and (indicator2[2] < indicator2[3]) and (high[2]> indicator1[2])tromp=(c1 or c2 or c3)//2indicator10 = BollingerBandWidth[20](typicalPrice)indicator20 = Average[7](BollingerBandWidth[20](typicalPrice))c10 = ((indicator10 < indicator20) or (indicator10[1] < indicator20[1])or (indicator10[2] <indicator20[2])) and (high<Indicator1 and low>Indicator2)ok=c10 or trompreturn ok09/24/2019 at 8:34 PM #108387bonsoir
il marche
ci joint
12345678910111213//1indicator1 = BollingerUp[20](typicalPrice)indicator2 = BollingerDown[20](typicalPrice)c1 = (indicator1 > indicator1[1]) and (indicator2 < indicator2[1]) and (high> indicator1)c2 = (indicator1[1] > indicator1[2])and (indicator2[1] < indicator2[2]) and (high[1]> indicator1[1])c3 = (indicator1[2] > indicator1[3])and (indicator2[2] < indicator2[3]) and (high[2]> indicator1[2])tromp=(c1 or c2 or c3)//2indicator10 = BollingerBandWidth[20](typicalPrice)indicator20 = Average[7](BollingerBandWidth[20](typicalPrice))c10 = ((indicator10 < indicator20) or (indicator10[1] < indicator20[1])or (indicator10[2]<indicator20[2])) and (high<Indicator1 and low>Indicator2)ok=c10 or trompreturn ok09/25/2019 at 2:36 PM #108436Je vous remercie mais qu’avez vous fait?
Je ne suis programmateur mais curieux?
Ensuite j’ai un autre indicateur pour vous également.
Pouvez vous m’aider?
Je vous remercie d’avance
1234567891011121314/1Indicator1 = BollingerUp[20](typicalPrice)Indicator2 = BollingerDown[20](typicalPrice)c1 = (indicator1 > indicator1[1]) and (indicator2 < indicator2[1]) and (low< indicator2)c2 = (indicator1[1] > indicator1[2])and (indicator2[1] < indicator2[2]) and (low[1]< indicator2[1])c3 = (indicator1[2] > indicator1[3])and (indicator2[2] < indicator2[3]) and (low[2]< indicator2[2])tromp=(c1 or c2 or c3)//2indicator10 = BollingerBandWidth[20](typicalPrice)indicator20 = Average[7](BollingerBandWidth[20](typicalPrice))c10 = ((indicator10 < indicator20) or (indicator10[1] < indicator20[1])or (indicator10[2] <indicator20[2])) and (high<Indicator1 and low>Indicator2)ok=c10 or trompreturn ok09/25/2019 at 2:51 PM #108444Je suis désolé du dérangement j’en ai encore deux
Si vous pouvez me trouver la solution, je vous remercie d’avance
12345678910111213141516171819//Le premier :indicator1 =highest[100](high)c1 = (indicator1 <= indicator1[1])and(indicator1[1] <= indicator1[2])and(indicator1[2] <=indicator1[3])and(indicator1[3] <= indicator1[4])and(indicator1[4] <=indicator1[5])and(indicator1[5] <= indicator1[6])and(indicator1[6] <= indicator1[7])mm=close>Average[50](close) and close>Average[150](close) andAverage[50](close)>Average[150]ok=c1 and mmreturn ok//Le deuxième :indicator1 = Average[20](typicalPrice)+2*std[20](typicalPrice)c1 = (close > indicator1) and (close[1]<indicator1[1])indicator2 = CALL “PreBreakout Up”(close)c2 = (indicator2 = 1) or (indicator2[1] = 1) or (indicator2[2] = 1)or (indicator2[3] = 1)or(indicator2[4] = 1)volum=(volume>500) and volume*close>20000ok=c1 AND c2 and volumreturn ok09/25/2019 at 2:56 PM #108445>> Pour la clarté des messages sur les forums de ProRealCode, merci d’utiliser le bouton “insert PRT code” pour séparer la partie texte de la partie code, merci ! <<
09/26/2019 at 1:00 PM #108599 -
AuthorPosts
Find exclusive trading pro-tools on