protected override void StartCalc() {
// assign inputs
System.Windows.Forms.MessageBox.Show("Test");}
I realise that messagebox will run for 3 times. I do not understand. Shouldn't it be only once?
protected override void StartCalc() [SOLVED]
-
- Posts: 83
- Joined: 18 Mar 2013
- Has thanked: 11 times
- Henry MultiСharts
- Posts: 9165
- Joined: 25 Aug 2011
- Has thanked: 1264 times
- Been thanked: 2958 times
Re: protected override void StartCalc() [SOLVED]
It looks like your study is trying to select the MaxBarsBack value required for study calculation.
Try to output current MaxBarsBack value into your window to see how it changes.
System.Windows.Forms.MessageBox.Show(String.Format("MaxBarsBack = {0}", ExecInfo.MaxBarsBack));
Try to output current MaxBarsBack value into your window to see how it changes.
System.Windows.Forms.MessageBox.Show(String.Format("MaxBarsBack = {0}", ExecInfo.MaxBarsBack));
-
- Posts: 93
- Joined: 10 Feb 2022
- Has thanked: 53 times
- Been thanked: 14 times