通达信大染坊
TL10:=(1-WINNER(C/0.9))*100,POINTDOT,COLORFFFF00;
TL20:=(1-WINNER(C/0.8))*100,POINTDOT,COLOR00FFFF;
TL30:=(1-WINNER(C/0.7))*100,POINTDOT,COLORFF00FF;
STICKLINE(TL10>-10,300,300-TL10,1,0),COLORFFFF33;
STICKLINE(TL20>-10,300,300-TL20,1,0),COLORFF6600;
STICKLINE(TL30>-10,300,300-TL30,1,0),COLORCC0000;
CXH10:=(WINNER(C)-WINNER(C/1.1))*100,POINTDOT;
CXH20:=(WINNER(C)-WINNER(C/1.2))*100,POINTDOT;
CXH30:=(WINNER(C)-WINNER(C/1.3))*100,POINTDOT;
STICKLINE(CXH30>-10,200,200-CXH30,1,0),COLOR99FFFF;
STICKLINE(CXH20>-10,200,200-CXH20,1,0),COLOR33CCFF;
STICKLINE(CXH10>-10,200,200-CXH10,1,0),COLOR0066FF;
{股票指标网}
界线1:100,LINETHICK2,COLORRED;
界线2:200,LINETHICK2,COLORYELLOW;
界线3:300,LINETHICK2,COLORGREEN;
未来函数检测结果如下:
该公式包含未来函数:WINNER
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式
原理解析:
TL10赋值:(1-C/0.9计算的获利盘比例)*100,POINTDOT,COLORFFFF00
TL20赋值:(1-C/0.8计算的获利盘比例)*100,POINTDOT,COLOR00FFFF
TL30赋值:(1-C/0.7计算的获利盘比例)*100,POINTDOT,COLORFF00FF
当满足条件TL10>-10时,在300和300-TL10之间画柱状线
当满足条件TL20>-10时,在300和300-TL20之间画柱状线
当满足条件TL30>-10时,在300和300-TL30之间画柱状线
CXH10赋值:(C计算的获利盘比例-WINNER(C/1.1))*100,POINTDOT
CXH20赋值:(C计算的获利盘比例-WINNER(C/1.2))*100,POINTDOT
CXH30赋值:(C计算的获利盘比例-WINNER(C/1.3))*100,POINTDOT
当满足条件CXH30>-10时,在200和200-CXH30之间画柱状线
当满足条件CXH20>-10时,在200和200-CXH20之间画柱状线
当满足条件CXH10>-10时,在200和200-CXH10之间画柱状线
输出
{股票指标网}
界线1:100, 线宽为2,画红色
输出
界线2:200, 线宽为2,画黄色
输出
界线3:300, 线宽为2,画绿色