MCPcopy Create free account
hub / github.com/TraderOracle/ATAS / LineOverload

Class LineOverload

LineOverload/LineOverload.cs:19–344  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17 using Color = System.Drawing.Color;
18
19 [DisplayName("LineOverload")]
20 public class LineOverload : Indicator
21 {
22 private const string sVersion = "1.2";
23 private string sKPValues = "";
24 private string sMQValues = "";
25 private string sBlindSpots = "";
26 private string sDarkPool = "";
27 private string sCTLevels = "";
28 private string sManciniSupport = "";
29 private string sManciniResist = "";
30
31 private struct days
32 {
33 public int idx;
34 public string label;
35 public string ticker;
36 public decimal price;
37 public decimal price2;
38 public Color c;
39 public string source;
40 }
41 private List<days> lsS = new List<days>();
42
43 private int iFontSize = 11;
44 private int iLineWidth = 2;
45
46 private bool bShowText = true;
47 private int _lastBar = -1;
48 private int currBar = 0;
49 private int prevBar = 0;
50 private bool _lastBarCounted;
51 private bool bFirstDisplay = false;
52 private string filePath = @"c:\temp\motivelines.csv";
53
54 Color cBL = Color.DeepPink;
55 Color cmin = Color.Red;
56 Color cmax = Color.Red;
57 Color ckvo2 = Color.Cyan;
58 Color crange = Color.Lime;
59 Color ckvo1 = Color.GreenYellow;
60 Color cDP = Color.PeachPuff;
61 Color cGex = Color.Green;
62 Color cResist = Color.OrangeRed;
63 Color cWall = Color.White;
64 Color cManSupp = Color.OrangeRed;
65 Color cManRest = Color.Lime;
66 Color cDefault = Color.White;
67
68 public LineOverload() :
69 base(true)
70 {
71 EnableCustomDrawing = true;
72 DenyToChangePanel = true;
73 SubscribeToDrawingEvents(DrawingLayouts.Historical);
74 }
75 #endregion
76

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected