Advertisement
Maurizio-Ciullo

Study Print File Txt

Feb 18th, 2023 (edited)
657
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.                                                 // Study Print File Txt //
  2.  
  3.                                              // Caricare lo Script sullo Study //
  4.                    
  5. // https://markplex.com/free-tutorials/tradestation-easylanguage-quicktips/quick-tip-15-format-date-time/
  6. // https://www.youtube.com/watch?v=49Ta3jYKtxM
  7.  
  8.  
  9. Print (File("C:\Users\morris\Desktop\PrintEasyLanguage.txt"), Getstrategyname, ", ", Symbol, ", ", Formatdate("dd/MM/yy", ElDateToDateTime( Date )), ", ", BarDateTime.Format( "%H%M.%S" ), ", ", Open, ", ", High, ", ", Low, ", ", Close, ", ", Volume, ", ", ); // or yy/MM/dd
  10.  
  11. // Clear the print log when the strategy first applyed or refreshed
  12. Once Clearprintlog;
  13.  
  14. // Questo serve a stampare i log e non a fare il print di un file
  15. Print (Getstrategyname, ", ", Symbol, ", ", Formatdate("dd/MM/yy", ElDateToDateTime( Date )), ", ", BarDateTime.Format( "%H%M.%S" ), ", ", Open, ", ", High, ", ", Low, ", ", Close, ", ", Volume, ", ", ); // or yy/MM/dd
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement