通达信操盘手多空博弈系列公式
按部就班
{N=1,100,5}
现价: C,COLORWHITE;
MC1:=COST(19*N);
MC2:=COST(15*N);
MC3:=COST(6*N);
MC4:=COST(1*N);
顶部: MC1 ,COLORFFFF33;
卖出: MC2 ,COLORGREEN;
买入: MC3 ,COLORRED;
底部: MC4 ,COLORYELLOW;
******************************************
多空博弈
VAR1:=(HHV(HIGH,21)-C)/(HHV(HIGH,21)-LLV(LOW,21))*100-10;
VAR2:=(C-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
VAR3:=SMA(VAR2,13,8);
多方: SMA(VAR3,13,8),COLORRED;
空方: SMA(VAR1,21,8),COLORGREEN;
高位:90,POINTDOT;
中位:45,;
低位:0,POINTDOT;
********************************************
龙腾四海
龙腾四海:100-100*(HHV(HIGH,5*N)-CLOSE)/(HHV(HIGH,5*N)-LLV(LOW,5*N)),COLOR4080FF,LINETHICK2;
海面:20,COLORGREEN;
海天分界线:50,COLORYELLOW;
天际:80,COLORRED;
顶:100;