Advertisement
Maurizio-Ciullo

40 If And For Loop Str.Replac // Rimpiazzare stringhe sulla label

Nov 24th, 2023
635
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //@version=5
  2. indicator("If And For Loop Str.Replace")
  3.  
  4. // Lezione 40 If And For Loop Str.Replac // Rimpiazzare stringhe sulla label
  5.  
  6.  
  7. // a = "a"
  8. // b = "b"
  9.  
  10. // label.new(bar_index, high, text=b) // Plotta "b" di b
  11.  
  12. ///////////////////////////////////////////////////////////////////////////////
  13.  
  14. // if (a == "a")
  15. //     b = str.replace_all(a, "a", "c")
  16. //     //c:= "c"
  17. //     label.new(bar_index, high, text=b) // Plotta "c" rimpiazzato" di a
  18.  
  19. ///////////////////////////////////////////////////////////////////////////////
  20.  
  21. // for i = 0 to 1
  22. //     b=str.replace_all(a, "a", "c")
  23. //     label.new(bar_index, high, text=b) // Plotta "c rimpiazzato" di a
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement