策略开发概念
1. 价格关卡
2. 线性转折
3. 交叉比较
4. 权重平分
RSI MACD
5. 通道偏差
6. 形状颜色
value1 = (high + low)/2;
condition1 = close > Average(close, 10);
condition2 = close < Average(close, 10);
condition3 = close cross over BollingerBand(close, 15, 1.5);
condition4 = close cross under BollingerBand(close, 15, -1.5);
if condition 1 then
buy next bar at market;
else if condition2 then
sellshort next bar at market;
setstoploss(10*bigpointvalue);