C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
- {SHORT,3,2,300,1 LONG,85,10,300,1 M,3,1,300,1}
- DDD : (MA(CLOSE,SHORT)-MA(CLOSE,LONG)),linethick0;
- AMA : MA(DDD,M);
- DRAWGBKLAST(c>0,STRIP(RGB(10,60,0),RGB(50,10,0),0));
- PARTLINE(AMA,AMA>=REF(AMA,1),rgb(255,0,0),AMA<REF(AMA,1),rgb(0,255,0)),LINETHICK3;
- 小跟一把就走:if(cross(DDD,AMA) and AMA<0,3,0),coloryellow,linethick1;