heiki hashi
Forums › ProRealTime forum Italiano › Supporto ProBuilder › heiki hashi
- This topic has 3 replies, 3 voices, and was last updated 7 years ago by
Nicolas.
Viewing 4 posts - 1 through 4 (of 4 total)
-
-
05/26/2018 at 8:55 AM #71369
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
05/26/2018 at 10:08 AM #71373Fatto (alcune linee sono commentate perché PRT non consente la presenza di variabili inutilizzate):
1234567891011121314IF BarIndex > 1 THENhaclose = (open + close + low + high) / 4haopen = (haopen[1] + haclose[1]) / 2//xHigh = Max(haOpen, haClose)//xLow = Min(haOpen, haClose)//hahigh = Max(High, xHigh)//halow = Min(Low, xLow)IF haclose > haopen THENx = 1ELSEx = -1ENDIFendifRETURN x1 user thanked author for this post.
05/26/2018 at 10:53 AM #71376grazie Roby!!! felice weekend
1 user thanked author for this post.
05/26/2018 at 12:09 PM #71390Per un nuovo argomento, il tuo titolodovrebbe essere abbastanza esplicito da spingere la community a leggere la tua discussione.
1 user thanked author for this post.
-
AuthorPosts
Viewing 4 posts - 1 through 4 (of 4 total)
Find exclusive trading pro-tools on
Similar topics: