N:=6;
HID := (2*HIGH+LOW+CLOSE+OPEN)/5;
LID := (2*LOW+HIGH+CLOSE+OPEN)/5;
CID := (2*CLOSE+HIGH+LOW+OPEN)/5;
UID := (VOL/((HID-LID)*100))*((CID-LID)*100);
DID := (VOL/((HID-LID)*100))*((HID-CID)*100);
多头能量 := SUM(UID,N)/CAPITAL*100;
空头能量 := SUM(DID,N)/CAPITAL*100;
CROSS(多头能量,7) AND 多头能量>空头能量
九毛八公式解读
N赋值:6 赋值: (2*最高价+最低价+收盘价+开盘价)/5 赋值: (2*最低价+最高价+收盘价+开盘价)/5 赋值: (2*收盘价+最高价+最低价+开盘价)/5 赋值: (成交量(手)/((HID-LID)*100))*((CID-LID)*100) 赋值: (成交量(手)/((HID-LID)*100))*((HID-CID)*100) 赋值: UID的N日累和/当前流通股本(手)*100 赋值: DID的N日累和/当前流通股本(手)*100 多头能量上穿7 AND 多头能量>空头能量