hello, the code has a bug, please fix it.if i select sl type bb it uses sl type ma instead.
wrong: case sl_ma:
sl_buy_stop = bands_lower+i*ExtStep;
sl_sell_stop= bands_upper-i*ExtStep;
break;
case sl_bands:
sl_buy_stop = ma+i*ExtStep;
sl_sell_stop= ma-i*ExtStep;
sl_buy_stop = bands_lower+i*ExtStep;
sl_sell_stop= bands_upper-i*ExtStep;
break;
case sl_bands:
sl_buy_stop = ma+i*ExtStep;
sl_sell_stop= ma-i*ExtStep;
05:14
correct i guess is if you swap the case statements, right?!
someone:
hello, the code has a bug, please fix it.if i select sl type bb it uses sl type ma instead.
wrong: case sl_ma:
sl_buy_stop = bands_lower+i*ExtStep;
sl_sell_stop= bands_upper-i*ExtStep;
break;
case sl_bands:
sl_buy_stop = ma+i*ExtStep;
sl_sell_stop= ma-i*ExtStep;
sl_buy_stop = bands_lower+i*ExtStep;
sl_sell_stop= bands_upper-i*ExtStep;
break;
case sl_bands:
sl_buy_stop = ma+i*ExtStep;
sl_sell_stop= ma-i*ExtStep;
05:14
correct i guess is if you swap the case statements, right?!
Forum über Handel, automatische Handelssysteme und Strategietests
Vladimir Karputov, 2020.05.24 16:52
Entschuldigung, Sie können den Code selbst ändern. Dieses Projekt ist veraltet und abgeschlossen.
An optimal code for learning commands and improving the performance of personal strategies.

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Bands 2:
Author: Vladimir Karputov