Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- RemoveDrawObject("letter_" + dir + "X" + (CurrentBar - 1));
- RemoveDrawObject("letter_" + dir + "A" + (CurrentBar - 1));
- RemoveDrawObject("letter_" + dir + "B" + (CurrentBar - 1));
- RemoveDrawObject("letter_" + dir + "C" + (CurrentBar - 1));
- RemoveDrawObject("letter_" + dir + "D" + (CurrentBar - 1));
- RemoveDrawObject("line_" + dir + "XA" + (CurrentBar - 1));
- RemoveDrawObject("line_" + dir + "AB" + (CurrentBar - 1));
- RemoveDrawObject("line_" + dir + "BC" + (CurrentBar - 1));
- RemoveDrawObject("line_" + dir + "DC" + (CurrentBar - 1));
- b_D = bAgo;
- barsAgo[dir]["D"] = CurrentBar - D__bn[dir][b_D];
- b_C = barsAgo[dir]["D"];
- barsAgo[dir]["C"] = CurrentBar - C__bn[dir][b_C];
- b_B = barsAgo[dir]["C"];
- barsAgo[dir]["B"] = CurrentBar - B__bn[dir][b_B];
- b_A = barsAgo[dir]["B"];
- barsAgo[dir]["A"] = CurrentBar - A__bn[dir][b_A];
- b_X = barsAgo[dir]["A"];
- barsAgo[dir]["X"] = CurrentBar - X__bn[dir][b_X];
- Draw.Text(this, "letter_" + dir + "X" + CurrentBar, "X", barsAgo[dir]["X"], X__val[dir][b_X], brush);
- 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);
- Draw.Text(this, "letter_" + dir + "A" + CurrentBar, "A", barsAgo[dir]["A"], A__val[dir][b_A], brush);
- 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);
- Draw.Text(this, "letter_" + dir + "B" + CurrentBar, "B", barsAgo[dir]["B"], B__val[dir][b_B], brush);
- 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);
- Draw.Text(this, "letter_" + dir + "C" + CurrentBar, "C", barsAgo[dir]["C"], C__val[dir][b_C], brush);
- 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);
- 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