Advertisement
Maurizio-Ciullo

Atr

Apr 2nd, 2022
340
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.                        
  2.                                                        *(ATR Average True Range)*
  3.  
  4. input:
  5.     input_atr_perdiod_long(10),
  6.     input_atr_perdiod_short(10),
  7.  
  8.  
  9. Vars:
  10.      valore_atr_long(0),
  11.      valore_atr_short(0),
  12.      
  13.      
  14.  
  15.  
  16.  
  17. // Calcololo dell'ATR "Average true range"
  18.      
  19.  
  20.     valore_atr_long      =   AvgTrueRange(input_atr_perdiod_long);
  21.     valore_atr_short     =   AvgTrueRange(input_atr_perdiod_short);
  22.    
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement