请高手把如下公式改成选股公式:JJ:=(HIGH+LOW+CLOSE)/3;QJ0:=AMOUNT/IF(HIGH=LOW,4,HIGH-LOW);买1:=QJ0*(MIN(OPEN,CLOSE)-LOW);买2:=QJ0*(JJ-MIN(CLOSE,OPEN));卖1:=QJ0*(MAX(CLOSE,OPEN)-JJ);卖2:=QJ0*(HIGH-MAX(OPEN,CLOSE));DT:=((买1+买2)-(
来源:学生作业帮助网 编辑:六六作业网 时间:2024/12/19 11:53:32
请高手把如下公式改成选股公式:JJ:=(HIGH+LOW+CLOSE)/3;QJ0:=AMOUNT/IF(HIGH=LOW,4,HIGH-LOW);买1:=QJ0*(MIN(OPEN,CLOSE)-LOW);买2:=QJ0*(JJ-MIN(CLOSE,OPEN));卖1:=QJ0*(MAX(CLOSE,OPEN)-JJ);卖2:=QJ0*(HIGH-MAX(OPEN,CLOSE));DT:=((买1+买2)-(
请高手把如下公式改成选股公式:
JJ:=(HIGH+LOW+CLOSE)/3;
QJ0:=AMOUNT/IF(HIGH=LOW,4,HIGH-LOW);
买1:=QJ0*(MIN(OPEN,CLOSE)-LOW);
买2:=QJ0*(JJ-MIN(CLOSE,OPEN));
卖1:=QJ0*(MAX(CLOSE,OPEN)-JJ);
卖2:=QJ0*(HIGH-MAX(OPEN,CLOSE));
DT:=((买1+买2)-(卖1+卖2))/10000;
主力持仓:SUM(DT,66),COLORWHITE,LINETHICK1;
STICKLINE(DT>0,主力持仓,主力持仓+DT,1,0),COLOR0000FF;
STICKLINE(DT<0,主力持仓+DT,主力持仓,1,0),COLOR00FF00;
选出来的股要翻红的,如下图:
请高手把如下公式改成选股公式:JJ:=(HIGH+LOW+CLOSE)/3;QJ0:=AMOUNT/IF(HIGH=LOW,4,HIGH-LOW);买1:=QJ0*(MIN(OPEN,CLOSE)-LOW);买2:=QJ0*(JJ-MIN(CLOSE,OPEN));卖1:=QJ0*(MAX(CLOSE,OPEN)-JJ);卖2:=QJ0*(HIGH-MAX(OPEN,CLOSE));DT:=((买1+买2)-(
JJ:=(HIGH+LOW+CLOSE)/3;
QJ0:=AMOUNT/IF(HIGH=LOW,4,HIGH-LOW);
买1:=QJ0*(MIN(OPEN,CLOSE)-LOW);
买2:=QJ0*(JJ-MIN(CLOSE,OPEN));
卖1:=QJ0*(MAX(CLOSE,OPEN)-JJ);
卖2:=QJ0*(HIGH-MAX(OPEN,CLOSE));
DT:=((买1+买2)-(卖1+卖2))/10000;
DT>0
注:DT值越大,红柱越高,如:DT>10000