i keep trying to use this in back tests but i get [string "c:\program files (x86)\candleworks\fxts2\st..."]:173: index is out of range.
i have tried re downloading serveral times i have tried many values and have only 3 that worked 0, 1 and 2 in the periods and also tried in different time frames as well, any suggestions?
i got it to pass into the progam but i would put "" around my number in the periods section but does not seem to be fuctioning like it should it puts shorts and longs in but the balance falls to 0 shortly into the test