heiki hashi
- This topic has 3 replies, 3 voices, and was last updated 6 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 forum Italiano › Supporto ProBuilder › heiki hashi
buongiorno a tutti.
c’è qualche buon anima che mi possa aiutare a creare l’indicatore heiki hashi? Lo vorrei sottoforma di istogramma con valore 1 se la candela è verde oppure -1 se la candela è rossa.
grazie
Fatto (alcune linee sono commentate perché PRT non consente la presenza di variabili inutilizzate):
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
IF BarIndex > 1 THEN haclose = (open + close + low + high) / 4 haopen = (haopen[1] + haclose[1]) / 2 //xHigh = Max(haOpen, haClose) //xLow = Min(haOpen, haClose) //hahigh = Max(High, xHigh) //halow = Min(Low, xLow) IF haclose > haopen THEN x = 1 ELSE x = -1 ENDIF endif RETURN x |
grazie Roby!!! felice weekend
Per un nuovo argomento, il tuo titolodovrebbe essere abbastanza esplicito da spingere la community a leggere la tua discussione.
Find exclusive trading pro-tools on