Advertisement
Maurizio-Ciullo

Dmi

Apr 2nd, 2022
225
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2.   Calcolo DMI Easy Language
  3.  
  4. input:
  5.    
  6.     adx_neutrale_diff_input(0);    
  7.     dmi_min_diff_input_long(26.1),  
  8.     dmi_min_diff_input_short(32.6);  
  9.  
  10. Vars:
  11.   di_pos(0),
  12.   di_neg(0),
  13.   adx_neutrale(0);
  14.  
  15.  
  16. // Calcololo degli indicatori e Variabili
  17.  
  18.   adx_neutrale = adx(14);
  19.   di_pos = (dmiPlus(14));
  20.   di_neg = (dmiMinus(14));
  21.  
  22. // Plot
  23.  
  24.    plot9(adx_neutrale, "adx_neutrale");
  25.    plot7(di_pos, "di_pos");
  26.    plot8(di_neg, "di_neg");
  27.  
  28. // Key-Word: CondEntryLong = .... and di_pos > dmi_min_diff_input_long
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement