Candele-Up-Down
- This topic has 2 replies, 2 voices, and was last updated 7 years ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
Forums › ProRealTime forum Italiano › Supporto ProBuilder › Candele-Up-Down
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
DEFPARAM CalculateOnLastBars = 5000 Ora = max(min(Ora,23),0) //l'ora deve essere tra 0 e 23 Candele = max(min(Candele,500),2) //le candele devono essere tra 2 e 500 IF Hour = Ora THEN //quando siamo all'ora indicata... Rialziste = summation[Candele](close > open) //... conta le candele rialziste... Ribassiste = summation[Candele](close < open) //... e quelle ribassiste ELSE Rialziste = 0 Ribassiste = 0 ENDIF return Rialziste coloured (0,0,255,255) as "Up", Ribassiste coloured (255,0,0,255) as "Down" |
Perché hai pubblicato questo topic duplicato dell’altro https://www.prorealcode.com/topic/contatore-barre-medie-mobili/page/2/#post-62578?
Buongiorno,chiedo scusa ho commesso un errore. Stavo cercando di provare a codificare l’idicatore per metatrader4 ma non ho capito nulla,le chiedo troppo se mi manda l’indicatore in formato mq4 per email,le chiedo scusa ma non riesco..