mirror of
https://github.com/mihakralj/QuanTAlib.git
synced 2026-08-13 16:18:05 +00:00
[CodeFactor] Apply fixes
This commit is contained in:
@@ -39,7 +39,6 @@ public class AtrIndicator : Indicator, IWatchlistIndicator
|
||||
|
||||
AtrSeries!.SetValue(result.Value);
|
||||
AtrSeries!.SetMarker(0, Color.Transparent); //OnPaintChart draws the line, hidden here
|
||||
|
||||
}
|
||||
#pragma warning disable CA1416 // Validate platform compatibility
|
||||
|
||||
|
||||
@@ -55,7 +55,6 @@ public class CmoIndicator : Indicator, IWatchlistIndicator
|
||||
|
||||
CmoSeries!.SetValue(cmo.Value);
|
||||
CmoSeries!.SetMarker(0, Color.Transparent); //OnPaintChart draws the line, hidden here
|
||||
|
||||
}
|
||||
|
||||
public override string ShortName => $"CMO ({Periods}:{SourceName})";
|
||||
|
||||
@@ -78,9 +78,6 @@ public class FlowIndicator : Indicator, IWatchlistIndicator
|
||||
gr.DrawLine(dottedPen, barX2, barY2, barX0, barY0);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -51,7 +51,6 @@ public class JvoltyIndicator : Indicator, IWatchlistIndicator
|
||||
jma!.Calc(input);
|
||||
|
||||
JvoltySeries!.SetValue(jma.Volty);
|
||||
|
||||
}
|
||||
|
||||
public override string ShortName => $"JVOLTY ({Periods})";
|
||||
|
||||
Reference in New Issue
Block a user