|
|
| Sujet : Bibliothèque de Codes PRT | |
Keltner Channel=Keltner Bands voir le site www.investisseurs.be à la rubrique indicateurs.Il est aussi question du Price Channel.Par contre il n'y a pas les codes.
In Goldman we trust.
Merci KRK vais essayer bricoler qqchose mais bon ,j'ai aute chose a faire!
The truth knocks on the door and you say,'Go away i'm looking for the truth,"and so it goes away
{Price Channel:
L=Lowest[70](Price<> close ) and
H=Highest[70](Price<>close)
return H,L
Y a comme un défaut!
The truth knocks on the door and you say,'Go away i'm looking for the truth,"and so it goes away
H=Highest[90](High)
L = Lowest [90](Low)
RETURN H,L
Bin ,la j'y suis!Si on n'aime pas le 90 on peut rouler a 150!
23 ca pas l'air mal,a voir
édité le : 28-01-2010 18:49:45The truth knocks on the door and you say,'Go away i'm looking for the truth,"and so it goes away
Bienque cela ne soit pas le graal,l'indictaeur impulse de Elder "met en confiance".Quelqu'un pourrait i me dire ou je pourras trouver en langage PRT cet indicateur ;je sais que en langage Expess Language il s"ecrit:
inputs:
par PeriodeMM1(12,1,200,1),
par periodeMM2(26,1,200,1),
par PeriodeMME(9,1,200,1);
variable:
IndMME(0),
MacdVal(0),
BarPos(0);
BarsNeeded(1);
MacdVal = Macd(Close,PeriodeMM1,PeriodeMM2);
IndMME = MME(Close,PeriodeMME);
BarPos = BarIndex;
If(MacdVal>MacdVal[1]) and (IndMME>IndMME[1]) then
BarColor(Cllime,1,BarPos)
Else If(MacdVal<MacdVal[1]) and (IndMME<IndMME[1]) then
BarColor(ClRed,1,BarPos)
Else If(MacdVal>MacdVal[1]) and (IndMME<IndMME[1]) then
BarColor(ClBlue,1,BarPos)
Else If(MacdVal<MacdVal[1]) and (IndMME>IndMME[1]) then
BarColor(ClBlue,1,BarPos);
Merci de vos conseils!il colore le barchart en vert si tout est ok a la hause ,en rouge si on descend ,en bleu la on s'abstient!!!!
édité le : 31-01-2010 20:12:33The truth knocks on the door and you say,'Go away i'm looking for the truth,"and so it goes away
| |  |
bonjour
l'indicateur Squeez MACD (de JL) me demande "High Low et macd +30%
je fais quoi ?
merci
L=Lowest[70](STD[20](MACDline[9,16,6](close)))*1.3
return L
tu lui donnes
The truth knocks on the door and you say,'Go away i'm looking for the truth,"and so it goes away
bonjour
j'ai bien entré l'indicateur "HL ET macd" dans la liste des indicateurs...
mais lorsque je valide le code du SQ macd,ca m'affiche une fenetre d'erreur de calcul, avec le message suivant :
"erreur ds l'indicateur: SQ macd
erreur ds la synthaxe: la fonction HL ET MACD depuis SQ macd est inexistante"
voila mon souci !
(je ne sais exporter ce message de PRT  )
merci pour votre aide !
autrement dit : je lui donnes comment ?
oui,je connais ton probleme pour l'avoir vécu,et tu es le seul a pouvoir resoudre;quant tu as un ndicateur:"hihgqqchose";il faut que dans ton indicateur de sq mACD ce "highqqchose "soit ecrit de maniere strictement identique a un espace pres ,c'est pour cela que pour etablir les indicateurs de JL ,j'ai largement utilisé le copier-coller et comme ca on s'en sort ,car en fait les mesages d'erreurs ne correspondent pas a la realité mais au fait que simplement un indicateur deja introduit n'est pas reconnu par un autre indicateur que tu introduis en deuxieme position et qui prend en definitive le premier comme fonction .EST CE QUE TU AS COMPRIS,
The truth knocks on the door and you say,'Go away i'm looking for the truth,"and so it goes away
Bonsoir,
Je rencontre malheureusement la même difficulté que WANAX. Y aurait-il une astuce simple afin de la surmonter?
Dois-je tout reprendre du début?
@Wanax: tu y es arrivé finalement?
Merci à tous et bonne soirée.
High Low ET MACD+30%
L=Lowest[70](STD[20](MACDline[9,16,6](close)))*1.3
return L
Sq MACD
indicator1=CALL"ET MACD"
rem userindic1=CALL"ET MACD"
indicator2=CALL"High Low ET MACD+30%"
c1=(indicator1<=indicator2)
if C1 then
I=2
else
I=0
endif
return i
The truth knocks on the door and you say,'Go away i'm looking for the truth,"and so it goes away
ET MACD
a=STD[20](MACDline[9,19,6](close))
return a
The truth knocks on the door and you say,'Go away i'm looking for the truth,"and so it goes away
Bonsoir,
Toujours impossible de valider le programme (indicateur squeez macd),pourquoi?
Merci.
Desolé ,mais en suivant l'ordre des algo suscités a savoir 1)How/Low,2)ET MACD,3)Sq MACD et en respectant les casses ,ca marche,bonne chance
The truth knocks on the door and you say,'Go away i'm looking for the truth,"and so it goes away
| Sujet : Bibliothèque de Codes PRT | | |