Advertisement
Maurizio-Ciullo

Study Indicatore Daily/Weekly/Monthly OHLC

Jan 21st, 2023 (edited)
1,056
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.                  
  2.                                         // Study Indicatore Daily/Weekly/Monthly OHLC //
  3.  
  4. Input: Daily0(false),
  5.        Daily1(true),
  6.        Weekly1(false),
  7.        Monthly1(false);
  8.        
  9. If Daily0 then
  10. Begin;
  11. plot1(highD(0),"Plot Daily High0");
  12. plot2(lowD(0),"Plot Daily Low0");
  13. End;
  14.        
  15. If Daily1 then
  16. Begin;
  17. plot3(highD(1),"Plot Daily High1");
  18. plot4(lowD(1),"Plot Daily Low1");
  19. End;
  20.  
  21. If Weekly1 then
  22. Begin;
  23. plot5(highW(1),"Plot Weekly High1");
  24. plot6(lowW(1),"Plot Weekly Low1");
  25. End;
  26.  
  27. If Monthly1 then
  28. Begin;
  29. plot7(highM(1),"Plot Monthly High1");
  30. plot8(lowM(1),"Plot Monthly Low1");
  31. End;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement