C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
- AAA:=(3*C+H+L+O)/6;
- VAR1:(8*AAA+7*REF(AAA,1)+6*REF(AAA,2)+5*REF(AAA,3)+4*REF(AAA,4)+3*REF(AAA,5)+2*REF(AAA,6)+REF(AAA,8))/36;
- VAR2:(HHV(VAR1,5)+HHV(VAR1,10)+HHV(VAR1,20))/3;
- VAR3:(LLV(VAR1,5)+LLV(VAR1,10)+LLV(VAR1,20))/3;
- VAR4:(HHV(VAR2,5)+HHV(VAR2,10)+HHV(VAR2,20))/3;
- VAR5:(LLV(VAR3,5)+LLV(VAR3,10)+LLV(VAR3,20))/3;
- VAR6:(LLV(VAR1,2)+LLV(VAR1,4)+LLV(VAR1,6))/3;
- CROSS(VAR1,VAR6);
- DRAWICON(VAR1>VAR6,VAR1,1);