Refactor COMPARE and CROSS classes, plus add xMA chart

This commit is contained in:
Miha Kralj
2023-04-06 11:39:53 -07:00
parent 69fae888d5
commit 90fa331e0e
32 changed files with 245 additions and 1356 deletions
+2 -2
View File
@@ -28,7 +28,7 @@ public class JMA_chart : QuanTAlib_Indicator {
#endregion Parameters
///////
private EMA_Series indicator;
private JMA_Series indicator;
///////
public JMA_chart() :base() {
@@ -43,7 +43,7 @@ public class JMA_chart : QuanTAlib_Indicator {
protected override void OnInit() {
base.OnInit();
indicator = new(source: bars.Select(DataSource), period: Period,
// phase: Jphase, vshort: Vshort, vlong: Vlong,
phase: Jphase, vshort: Vshort, vlong: Vlong,
useNaN: true);
}