{筹码金叉突破}
DRAWTEXT_FIX(1,0.005,0,0,'所属风格:'),COLORYELLOW;
DRAWTEXT_FIX(1,0.06,0,0,FGBLOCK),COLORYELLOW;
DRAWTEXT_FIX(1,0.005,0.05,0,'所属概念:'),COLORMAGENTA;
DRAWTEXT_FIX(1,0.06,0.05,0,GNBLOCK),COLORYELLOW;
金叉擒龙:MA(C,3),COLORLIRED,LINETHICK2;
IF(金叉擒龙>REF(金叉擒龙,1),金叉擒龙,DRAWNULL),COLOR0000FF,LINETHICK2;
IF(金叉擒龙< REF(金叉擒龙,1),金叉擒龙,DRAWNULL),COLOR00FF00,LINETHICK2;
金叉擒龙1:MA(C,13),COLORLIBLUE,LINETHICK2,LINETHICK2;
IF(金叉擒龙1>REF(金叉擒龙1,1),金叉擒龙1,DRAWNULL),COLORFF0000,LINETHICK2;
IF(金叉擒龙1< REF(金叉擒龙1,1),金叉擒龙1,DRAWNULL),COLORMAGENTA,LINETHICK2;
MA5:=MA(C,5)DOTLINE;
T:=SUM(MAX(MAX(H-LOW,ABS(H-REF(C,1))),ABS(REF(C,1)-LOW)),14);
HD:=H-REF(H,1);
LD:=REF(LOW,1)-LOW;
MP:=SUM(IF(HD>0&&HD>LD,HD,0),14);
MM:=SUM(IF(LD>0&&LD>HD,LD,0),14);
金龙突破:=MP*100/T;
筹码突破:=MM*100/T;
A:=金龙突破-筹码突破>=0;
B:=金龙突破-筹码突破< 0;
D:=(金龙突破-筹码突破);
LDM18:=CURRBARSCOUNT;
LDM19:=5000;
LDM20:=LDM18<=LDM19;
LDM22:=MA(C,240);
牛熊线:IF(LDM20,CONST(LDM22),DRAWNULL),DOTLINE,COLORYELLOW;
动能:=D>=0 DOTLINE COLORRED;
STICKLINE(CROSS(金叉擒龙, 金叉擒龙1) AND 动能,O,C,2 ,0 ),COLORYELLOW;
DRAWICON(CROSS(金叉擒龙, 金叉擒龙1) AND 动能,L*1.002,23);
HB:=COST(99.9);
LB:=COST(0.1);
gspt3:=(HB-LB)/50;
gspt31:=HB-gspt3;
gspt32:=HB-2*gspt3;
gspt33:=HB-3*gspt3;
gspt34:=HB-4*gspt3;
gspt35:=HB-5*gspt3;
gspt36:=HB-6*gspt3;
gspt37:=HB-7*gspt3;
gspt38:=HB-8*gspt3;
gspt39:=HB-9*gspt3;
gspt310:=HB-10*gspt3;
gspt311:=HB-11*gspt3;
gspt312:=HB-12*gspt3;
gspt313:=HB-13*gspt3;
gspt314:=HB-14*gspt3;
gspt315:=HB-15*gspt3;
gspt316:=HB-16*gspt3;
gspt317:=HB-17*gspt3;
gspt318:=HB-18*gspt3;
gspt319:=HB-19*gspt3;
gspt320:=HB-20*gspt3;
gspt321:=HB-21*gspt3;
gspt322:=HB-22*gspt3;
gspt323:=HB-23*gspt3;
gspt324:=HB-24*gspt3;
gspt325:=HB-25*gspt3;
gspt326:=HB-26*gspt3;
gspt327:=HB-27*gspt3;
gspt328:=HB-28*gspt3;
gspt329:=HB-29*gspt3;
gspt330:=HB-30*gspt3;
gspt331:=HB-31*gspt3;
gspt332:=HB-32*gspt3;
gspt333:=HB-33*gspt3;
gspt334:=HB-34*gspt3;
gspt335:=HB-35*gspt3;
gspt336:=HB-36*gspt3;
gspt337:=HB-37*gspt3;
gspt338:=HB-38*gspt3;
gspt339:=HB-39*gspt3;
gspt340:=HB-40*gspt3;
gspt341:=HB-41*gspt3;
gspt342:=HB-42*gspt3;
gspt343:=HB-43*gspt3;
gspt344:=HB-44*gspt3;
gspt345:=HB-45*gspt3;
gspt346:=HB-46*gspt3;
gspt347:=HB-47*gspt3;
gspt348:=HB-48*gspt3;
gspt349:=HB-49*gspt3;
分析家公式网1:=WINNER(HB)*100-WINNER(gspt31)*100;
分析家公式网2:=WINNER(gspt31)*100-WINNER(gspt32)*100;
分析家公式网3:=WINNER(gspt32)*100-WINNER(gspt33)*100;
分析家公式网4:=WINNER(gspt33)*100-WINNER(gspt34)*100;
分析家公式网5:=WINNER(gspt34)*100-WINNER(gspt35)*100;
分析家公式网6:=WINNER(gspt35)*100-WINNER(gspt36)*100;
分析家公式网7:=WINNER(gspt36)*100-WINNER(gspt37)*100;
分析家公式网8:=WINNER(gspt37)*100-WINNER(gspt38)*100;
分析家公式网9:=WINNER(gspt38)*100-WINNER(gspt39)*100;
分析家公式网10:=WINNER(gspt39)*100-WINNER(gspt310)*100;
分析家公式网11:=WINNER(gspt310)*100-WINNER(gspt311)*100;
分析家公式网12:=WINNER(gspt311)*100-WINNER(gspt312)*100;
分析家公式网13:=WINNER(gspt312)*100-WINNER(gspt313)*100;
分析家公式网14:=WINNER(gspt313)*100-WINNER(gspt314)*100;
分析家公式网15:=WINNER(gspt314)*100-WINNER(gspt315)*100;
分析家公式网16:=WINNER(gspt315)*100-WINNER(gspt316)*100;
分析家公式网17:=WINNER(gspt316)*100-WINNER(gspt317)*100;
分析家公式网18:=WINNER(gspt317)*100-WINNER(gspt318)*100;
分析家公式网19:=WINNER(gspt318)*100-WINNER(gspt319)*100;
分析家公式网20:=WINNER(gspt319)*100-WINNER(gspt320)*100;
分析家公式网21:=WINNER(gspt320)*100-WINNER(gspt321)*100;
分析家公式网22:=WINNER(gspt321)*100-WINNER(gspt322)*100;
分析家公式网23:=WINNER(gspt322)*100-WINNER(gspt323)*100;
分析家公式网24:=WINNER(gspt323)*100-WINNER(gspt324)*100;
分析家公式网25:=WINNER(gspt324)*100-WINNER(gspt325)*100;
分析家公式网26:=WINNER(gspt325)*100-WINNER(gspt326)*100;
分析家公式网27:=WINNER(gspt326)*100-WINNER(gspt327)*100;
分析家公式网28:=WINNER(gspt327)*100-WINNER(gspt328)*100;
分析家公式网29:=WINNER(gspt328)*100-WINNER(gspt329)*100;
分析家公式网30:=WINNER(gspt329)*100-WINNER(gspt330)*100;
分析家公式网31:=WINNER(gspt330)*100-WINNER(gspt331)*100;
分析家公式网32:=WINNER(gspt331)*100-WINNER(gspt332)*100;
分析家公式网33:=WINNER(gspt332)*100-WINNER(gspt333)*100;
分析家公式网34:=WINNER(gspt333)*100-WINNER(gspt334)*100;
分析家公式网35:=WINNER(gspt334)*100-WINNER(gspt335)*100;
分析家公式网36:=WINNER(gspt335)*100-WINNER(gspt336)*100;
分析家公式网37:=WINNER(gspt336)*100-WINNER(gspt337)*100;
分析家公式网38:=WINNER(gspt337)*100-WINNER(gspt338)*100;
分析家公式网39:=WINNER(gspt338)*100-WINNER(gspt339)*100;
分析家公式网40:=WINNER(gspt339)*100-WINNER(gspt340)*100;
分析家公式网41:=WINNER(gspt340)*100-WINNER(gspt341)*100;
分析家公式网42:=WINNER(gspt341)*100-WINNER(gspt342)*100;
分析家公式网43:=WINNER(gspt342)*100-WINNER(gspt343)*100;
分析家公式网44:=WINNER(gspt343)*100-WINNER(gspt344)*100;
分析家公式网45:=WINNER(gspt344)*100-WINNER(gspt345)*100;
分析家公式网46:=WINNER(gspt345)*100-WINNER(gspt346)*100;
分析家公式网47:=WINNER(gspt346)*100-WINNER(gspt347)*100;
分析家公式网48:=WINNER(gspt347)*100-WINNER(gspt348)*100;
分析家公式网49:=WINNER(gspt348)*100-WINNER(gspt349)*100;
分析家公式网50:=WINNER(gspt349)*100-WINNER(LB)*100;
DRAWTEXT_FIX(C>O,0.01,0.9,0,'公式平台 公式源码 http://www.gspt.com'),COLOR222222;
STICKLINE(ISLASTBAR,HB ,HB ,分析家公式网1*50 ,0 ),COLORGRAY;
STICKLINE(ISLASTBAR,gspt31 ,gspt31 ,分析家公式网1*50 ,0 ),COLORGRAY;
STICKLINE(ISLASTBAR,gspt32 ,gspt32 ,分析家公式网2*50 ,0 ),COLORGRAY;
STICKLINE(ISLASTBAR,gspt33 ,gspt33 ,分析家公式网3*50 ,0 ),COLORGRAY;
STICKLINE(ISLASTBAR,gspt34 ,gspt34 ,分析家公式网4*50 ,0 ),COLORGRAY;
STICKLINE(ISLASTBAR,gspt35 ,gspt35 ,分析家公式网5*50 ,0 ),COLORGRAY;
STICKLINE(ISLASTBAR,gspt36 ,gspt36 ,分析家公式网6*50 ,0 ),COLORGRAY;
STICKLINE(ISLASTBAR,gspt37 ,gspt37 ,分析家公式网7*50 ,0 ),COLORGRAY;
STICKLINE(ISLASTBAR,gspt38 ,gspt38 ,分析家公式网8*50 ,0 ),COLORGRAY;
STICKLINE(ISLASTBAR,gspt39 ,gspt39 ,分析家公式网9*50 ,0 ),COLORGRAY;
STICKLINE(ISLASTBAR,gspt310 ,gspt310 ,分析家公式网10*50 ,0 ),COLORGRAY;
STICKLINE(ISLASTBAR,gspt311 ,gspt311 ,分析家公式网11*50 ,0 ),COLORGRAY;
STICKLINE(ISLASTBAR,gspt312 ,gspt312 ,分析家公式网12*50 ,0 ),COLORGRAY;
STICKLINE(ISLASTBAR,gspt313 ,gspt313 ,分析家公式网13*50 ,0 ),COLORGRAY;
STICKLINE(ISLASTBAR,gspt314 ,gspt314 ,分析家公式网14*50 ,0 ),COLORGRAY;
STICKLINE(ISLASTBAR,gspt315 ,gspt315 ,分析家公式网15*50 ,0 ),COLORGRAY;
STICKLINE(ISLASTBAR,gspt316 ,gspt316 ,分析家公式网16*50 ,0 ),COLORGRAY;
STICKLINE(ISLASTBAR,gspt317 ,gspt317 ,分析家公式网17*50 ,0 ),COLORGRAY;
STICKLINE(ISLASTBAR,gspt318 ,gspt318 ,分析家公式网18*50 ,0 ),COLORGRAY;
STICKLINE(ISLASTBAR,gspt319 ,gspt319 ,分析家公式网19*50 ,0 ),COLORGRAY;
STICKLINE(ISLASTBAR,gspt320 ,gspt320 ,分析家公式网20*50 ,0 ),COLORGRAY;
STICKLINE(ISLASTBAR,gspt321 ,gspt321 ,分析家公式网21*50 ,0 ),COLORGRAY;
STICKLINE(ISLASTBAR,gspt322 ,gspt322 ,分析家公式网22*50 ,0 ),COLORGRAY;
STICKLINE(ISLASTBAR,gspt323 ,gspt323 ,分析家公式网23*50 ,0 ),COLORGRAY;
STICKLINE(ISLASTBAR,gspt324 ,gspt324 ,分析家公式网24*50 ,0 ),COLORGRAY;
STICKLINE(ISLASTBAR,gspt325 ,gspt325 ,分析家公式网25*50 ,0 ),COLORGRAY;
STICKLINE(ISLASTBAR,gspt326 ,gspt326 ,分析家公式网26*50 ,0 ),COLORGRAY;
STICKLINE(ISLASTBAR,gspt327 ,gspt327 ,分析家公式网27*50 ,0 ),COLORGRAY;
STICKLINE(ISLASTBAR,gspt328 ,gspt328 ,分析家公式网28*50 ,0 ),COLORGRAY;
STICKLINE(ISLASTBAR,gspt329 ,gspt329 ,分析家公式网29*50 ,0 ),COLORGRAY;
STICKLINE(ISLASTBAR,gspt330 ,gspt330 ,分析家公式网30*50 ,0 ),COLORGRAY;
STICKLINE(ISLASTBAR,gspt331 ,gspt331 ,分析家公式网31*50 ,0 ),COLORGRAY;
STICKLINE(ISLASTBAR,gspt332 ,gspt332 ,分析家公式网32*50 ,0 ),COLORGRAY;
STICKLINE(ISLASTBAR,gspt333 ,gspt333 ,分析家公式网33*50 ,0 ),COLORGRAY;
STICKLINE(ISLASTBAR,gspt334 ,gspt334 ,分析家公式网34*50 ,0 ),COLORGRAY;
STICKLINE(ISLASTBAR,gspt335 ,gspt335 ,分析家公式网35*50 ,0 ),COLORGRAY;
STICKLINE(ISLASTBAR,gspt336 ,gspt336 ,分析家公式网36*50 ,0 ),COLORGRAY;
STICKLINE(ISLASTBAR,gspt337 ,gspt337 ,分析家公式网37*50 ,0 ),COLORGRAY;
STICKLINE(ISLASTBAR,gspt338 ,gspt338 ,分析家公式网38*50 ,0 ),COLORGRAY;
STICKLINE(ISLASTBAR,gspt339 ,gspt339 ,分析家公式网39*50 ,0 ),COLORGRAY;
STICKLINE(ISLASTBAR,gspt340 ,gspt340 ,分析家公式网40*50 ,0 ),COLORGRAY;
STICKLINE(ISLASTBAR,gspt341 ,gspt341 ,分析家公式网41*50 ,0 ),COLORGRAY;
STICKLINE(ISLASTBAR,gspt342 ,gspt342 ,分析家公式网42*50 ,0 ),COLORGRAY;
STICKLINE(ISLASTBAR,gspt343 ,gspt343 ,分析家公式网43*50 ,0 ),COLORGRAY;
STICKLINE(ISLASTBAR,gspt344 ,gspt344 ,分析家公式网44*50 ,0 ),COLORGRAY;
STICKLINE(ISLASTBAR,gspt345 ,gspt345 ,分析家公式网45*50 ,0 ),COLORGRAY;
STICKLINE(ISLASTBAR,gspt346 ,gspt346 ,分析家公式网46*50 ,0 ),COLORGRAY;
STICKLINE(ISLASTBAR,gspt347 ,gspt347 ,分析家公式网47*50 ,0 ),COLORGRAY;
STICKLINE(ISLASTBAR,gspt348 ,gspt348 ,分析家公式网48*50 ,0 ),COLORGRAY;
STICKLINE(ISLASTBAR,LB ,LB ,分析家公式网50*50 ,0 ),COLORGRAY;
DRAWKLINE(H,OPEN,LOW,C);