捕食》公式中的短买、启动、蛮准、启动与蛮准融合,各做一个选股
更多金钻指标股票技术讨论QQ群:966329692 技术讨论QQ群:220302856 技术讨论QQ群:39652085 如群满可换一个

编写要求:

请老师将公式中的短买、启动、蛮准、启动与蛮准融合到一块,各做一个选股预警公式!感激!公式源码:VAR1:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(CLOSE,9))*100;VAR2:=SMA(VAR1,3,1)/2*1.1;地: SMA(VAR2,3,1)-41;VAR3:=(CLOSE-LLV(CLOSE,9))/(HHV(HIGH,9)-LLV(CLOSE,9))*100;VAR4:=(SMA(VAR3,3,1)/2+40)*1.1;天: SMA(VAR4,3,1)-34;相交: 8.18;LC:=REF(CLOSE,1);RSI:=SMA(MAX(CLOSE-LC,0),4.1,1)/SMA(ABS(CLOSE-LC),4.1,1)*100; 蛮准:CROSS(RSI,11)*80,COLORRED;VAR1A:=3;VAR2A:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);启动: IF(CROSS(VAR2A,VAR1A),100,0);捕食: IF(VAR2A<=3,25,0);补仓: IF(VAR2A<5,45,0)COLORYELLOW;短买: IF(VAR2A<7,65,0)COLORGREEN;

解答:

 VAR2A:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);

短买:VAR2A<7;
================
LC:=REF(CLOSE,1);
RSI:=SMA(MAX(CLOSE-LC,0),4.1,1)/SMA(ABS(CLOSE-LC),4.1,1)*100; 
蛮准:CROSS(RSI,11)*80;
===============
VAR1A:=3;
VAR2A:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
启动:CROSS(VAR2A,VAR1A);
==============
LC:=REF(CLOSE,1);
RSI:=SMA(MAX(CLOSE-LC,0),4.1,1)/SMA(ABS(CLOSE-LC),4.1,1)*100; 
蛮准:=CROSS(RSI,11)*80;
VAR1A:=3;
VAR2A:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
启动:=CROSS(VAR2A,VAR1A);
蛮准 AND 启动;
 

选股票看什么指标最好 >股票指标网