200 bars is the limit for the integrated indicators. However, this limit is set in the indicator's file. So, each indicator can have its own limits.
IndParam.NumParam[0].Caption = "Slow MA period";
IndParam.NumParam[0].Value = 26;
IndParam.NumParam[0].Min = 1;
IndParam.NumParam[0].Max = 200;
IndParam.NumParam[0].Enabled = true;
IndParam.NumParam[0].ToolTip = "The period of Slow MA.";
In that example IndParam.NumParam[0].Max = 200; is the upper limit for the MA period. Min limit is 1 and the default value is 26.
If you make a custom indicator, you can set whatever limit you want. But you have to consider two side effects:
- The first real value of an indicator depends on the period, shift... If you use a Simple MA with period of 51, the first value of that MA will be at the 51st bar. So no signals will be raised before that bar. If you make MA with period of 900, the first signal will be at bar 900 (or 901).
- If you have longer period than the bars loaded, the software may crash. It depends on the indicator code. The min allowed data bars for FSB are 300 and the default min bars for FST are 400. That's why I limited the period of standard indicators to 200.
If you extend that limit, you have to be sure that you always use enough bars. In FSB the bars depend on the data file and "Data Horizon" settings. In FST the bars depend on the chart time frame and the limit in "Trade Settings".