Advertisement
retesere20

--recycl-234325

Aug 19th, 2019
188
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.74 KB | None | 0 0
  1.  
  2.  
  3. RemoveDrawObject("letter_" + dir + "X" + (CurrentBar - 1));
  4. RemoveDrawObject("letter_" + dir + "A" + (CurrentBar - 1));
  5. RemoveDrawObject("letter_" + dir + "B" + (CurrentBar - 1));
  6. RemoveDrawObject("letter_" + dir + "C" + (CurrentBar - 1));
  7. RemoveDrawObject("letter_" + dir + "D" + (CurrentBar - 1));
  8. RemoveDrawObject("line_" + dir + "XA" + (CurrentBar - 1));
  9. RemoveDrawObject("line_" + dir + "AB" + (CurrentBar - 1));
  10. RemoveDrawObject("line_" + dir + "BC" + (CurrentBar - 1));
  11. RemoveDrawObject("line_" + dir + "DC" + (CurrentBar - 1));
  12.  
  13. b_D = bAgo;
  14. barsAgo[dir]["D"] = CurrentBar - D__bn[dir][b_D];
  15. b_C = barsAgo[dir]["D"];
  16. barsAgo[dir]["C"] = CurrentBar - C__bn[dir][b_C];
  17. b_B = barsAgo[dir]["C"];
  18. barsAgo[dir]["B"] = CurrentBar - B__bn[dir][b_B];
  19. b_A = barsAgo[dir]["B"];
  20. barsAgo[dir]["A"] = CurrentBar - A__bn[dir][b_A];
  21. b_X = barsAgo[dir]["A"];
  22. barsAgo[dir]["X"] = CurrentBar - X__bn[dir][b_X];
  23.  
  24. Draw.Text(this, "letter_" + dir + "X" + CurrentBar, "X", barsAgo[dir]["X"], X__val[dir][b_X], brush);
  25. Draw.Line(this, "line_" + dir + "XA" + CurrentBar, true, barsAgo[dir]["X"], X__val[dir][b_X], barsAgo[dir]["A"], A__val[dir][b_A], brush, DashStyle_, Line_Width_, true);
  26.  
  27. Draw.Text(this, "letter_" + dir + "A" + CurrentBar, "A", barsAgo[dir]["A"], A__val[dir][b_A], brush);
  28. Draw.Line(this, "line_" + dir + "AB" + CurrentBar, true, barsAgo[dir]["A"], A__val[dir][b_A], barsAgo[dir]["B"], B__val[dir][b_B], brush, DashStyle_, Line_Width_, true);
  29.  
  30. Draw.Text(this, "letter_" + dir + "B" + CurrentBar, "B", barsAgo[dir]["B"], B__val[dir][b_B], brush);
  31. Draw.Line(this, "line_" + dir + "BC" + CurrentBar, true, barsAgo[dir]["B"], B__val[dir][b_B], barsAgo[dir]["C"], C__val[dir][b_C], brush, DashStyle_, Line_Width_, true);
  32.  
  33. Draw.Text(this, "letter_" + dir + "C" + CurrentBar, "C", barsAgo[dir]["C"], C__val[dir][b_C], brush);
  34. Draw.Line(this, "line_" + dir + "DC" + CurrentBar, true, barsAgo[dir]["C"], C__val[dir][b_C], barsAgo[dir]["D"], D__val[dir][b_D], brush, DashStyle_, Line_Width_, true);
  35.  
  36. Draw.Text(this, "letter_" + dir + "D" + CurrentBar, "D", barsAgo[dir]["D"], D__val[dir][b_D], brush);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement