uso del while
- This topic has 3 replies, 3 voices, and was last updated 1 year 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 › uso del while
Buonasera
Usando il while vorrei identificare una condizione che mi indica quando lo stocastico k è inferiore a 20 (come da screenshot)
si certo e ti ringrazio ma io a scopo didattico cercavo di descrivere la stessa cosa usando il while,come puro esercizio personale
Eccolo:
|
1 2 3 4 5 6 7 8 9 10 11 12 |
DEFPARAM DrawOnLastBarOnly = True mioStocastico = Stochastic[14,3](close) i = BarIndex WHILE i > 0 DO Offset = highest[10](range[10]) j = BarIndex - i IF mioStocastico[j] < 20 THEN DrawText("✘",BarIndex[j],lowest[10](low[j]) - Offset) ENDIF i = i - 1 WEND RETURN |
Find exclusive trading pro-tools on 