A0:=(COST(0.1)-REF(COST(0.1),1))/REF(COST(0.1),1);B0:=IF(A0>0,A0,0);C0:=IF(A0<0,A0,0);
A1:=(COST(1)-REF(COST(1),1))/REF(COST(1),1);B1:=IF(A1>0,A1,0);C1:=IF(A1<0,A1,0);
A2:=(COST(2)-REF(COST(2),1))/REF(COST(2),1);B2:=IF(A2>0,A2,0);C2:=IF(A2<0,A2,0);
A3:=(COST(3)-REF(COST(3),1))/REF(COST(3),1);B3:=IF(A3>0,A3,0);C3:=IF(A3<0,A3,0);
A4:=(COST(4)-REF(COST(4),1))/REF(COST(4),1);B4:=IF(A4>0,A4,0);C4:=IF(A4<0,A4,0);
A5:=(COST(5)-REF(COST(5),1))/REF(COST(5),1);B5:=IF(A5>0,A5,0);C5:=IF(A5<0,A5,0);
A6:=(COST(6)-REF(COST(6),1))/REF(COST(6),1);B6:=IF(A6>0,A6,0);C6:=IF(A6<0,A6,0);
A7:=(COST(7)-REF(COST(7),1))/REF(COST(7),1);B7:=IF(A7>0,A7,0);C7:=IF(A7<0,A7,0);
A8:=(COST(8)-REF(COST(8),1))/REF(COST(8),1);B8:=IF(A8>0,A8,0);C8:=IF(A8<0,A8,0);
A9:=(COST(9)-REF(COST(9),1))/REF(COST(9),1);B9:=IF(A9>0,A9,0);C9:=IF(A9<0,A9,0);
A10:=(COST(10)-REF(COST(10),1))/REF(COST(10),1);B10:=IF(A10>0,A10,0);C10:=IF(A10<0,A10,0);
A11:=(COST(11)-REF(COST(11),1))/REF(COST(11),1);B11:=IF(A11>0,A11,0);C11:=IF(A11<0,A11,0);
A12:=(COST(12)-REF(COST(12),1))/REF(COST(12),1);B12:=IF(A12>0,A12,0);C12:=IF(A12<0,A12,0);
A13:=(COST(13)-REF(COST(13),1))/REF(COST(13),1);B13:=IF(A13>0,A13,0);C13:=IF(A13<0,A13,0);
A14:=(COST(14)-REF(COST(14),1))/REF(COST(14),1);B14:=IF(A14>0,A14,0);C14:=IF(A14<0,A14,0);
A15:=(COST(15)-REF(COST(15),1))/REF(COST(15),1);B15:=IF(A15>0,A15,0);C15:=IF(A15<0,A15,0);
A16:=(COST(16)-REF(COST(16),1))/REF(COST(16),1);B16:=IF(A16>0,A16,0);C16:=IF(A16<0,A16,0);
A17:=(COST(17)-REF(COST(17),1))/REF(COST(17),1);B17:=IF(A17>0,A17,0);C17:=IF(A17<0,A17,0);
A18:=(COST(18)-REF(COST(18),1))/REF(COST(18),1);B18:=IF(A18>0,A18,0);C18:=IF(A18<0,A18,0);
A19:=(COST(19)-REF(COST(19),1))/REF(COST(19),1);B19:=IF(A19>0,A19,0);C19:=IF(A19<0,A19,0);
A20:=(COST(20)-REF(COST(20),1))/REF(COST(20),1);B20:=IF(A20>0,A20,0);C20:=IF(A20<0,A20,0);
A21:=(COST(21)-REF(COST(21),1))/REF(COST(21),1);B21:=IF(A21>0,A21,0);C21:=IF(A21<0,A21,0);
A22:=(COST(22)-REF(COST(22),1))/REF(COST(22),1);B22:=IF(A22>0,A22,0);C22:=IF(A22<0,A22,0);
A23:=(COST(23)-REF(COST(23),1))/REF(COST(23),1);B23:=IF(A23>0,A23,0);C23:=IF(A23<0,A23,0);
A24:=(COST(24)-REF(COST(24),1))/REF(COST(24),1);B24:=IF(A24>0,A24,0);C24:=IF(A24<0,A24,0);
A25:=(COST(25)-REF(COST(25),1))/REF(COST(25),1);B25:=IF(A25>0,A25,0);C25:=IF(A25<0,A25,0);
A26:=(COST(26)-REF(COST(26),1))/REF(COST(26),1);B26:=IF(A26>0,A26,0);C26:=IF(A26<0,A26,0);
A27:=(COST(27)-REF(COST(27),1))/REF(COST(27),1);B27:=IF(A27>0,A27,0);C27:=IF(A27<0,A27,0);
A28:=(COST(28)-REF(COST(28),1))/REF(COST(28),1);B28:=IF(A28>0,A28,0);C28:=IF(A28<0,A28,0);
A29:=(COST(29)-REF(COST(29),1))/REF(COST(29),1);B29:=IF(A29>0,A29,0);C29:=IF(A29<0,A29,0);
A30:=(COST(30)-REF(COST(30),1))/REF(COST(30),1);B30:=IF(A30>0,A30,0);C30:=IF(A30<0,A30,0);
A31:=(COST(31)-REF(COST(31),1))/REF(COST(31),1);B31:=IF(A31>0,A31,0);C31:=IF(A31<0,A31,0);
A32:=(COST(32)-REF(COST(32),1))/REF(COST(32),1);B32:=IF(A32>0,A32,0);C32:=IF(A32<0,A32,0);
A33:=(COST(33)-REF(COST(33),1))/REF(COST(33),1);B33:=IF(A33>0,A33,0);C33:=IF(A33<0,A33,0);
A34:=(COST(34)-REF(COST(34),1))/REF(COST(34),1);B34:=IF(A34>0,A34,0);C34:=IF(A34<0,A34,0);
A35:=(COST(35)-REF(COST(35),1))/REF(COST(35),1);B35:=IF(A35>0,A35,0);C35:=IF(A35<0,A35,0);
A36:=(COST(36)-REF(COST(36),1))/REF(COST(36),1);B36:=IF(A36>0,A36,0);C36:=IF(A36<0,A36,0);
A37:=(COST(37)-REF(COST(37),1))/REF(COST(37),1);B37:=IF(A37>0,A37,0);C37:=IF(A37<0,A37,0);
A38:=(COST(38)-REF(COST(38),1))/REF(COST(38),1);B38:=IF(A38>0,A38,0);C38:=IF(A38<0,A38,0);
A39:=(COST(39)-REF(COST(39),1))/REF(COST(39),1);B39:=IF(A39>0,A39,0);C39:=IF(A39<0,A39,0);
A40:=(COST(40)-REF(COST(40),1))/REF(COST(40),1);B40:=IF(A40>0,A40,0);C40:=IF(A40<0,A40,0);
A41:=(COST(41)-REF(COST(41),1))/REF(COST(41),1);B41:=IF(A41>0,A41,0);C41:=IF(A41<0,A41,0);
A42:=(COST(42)-REF(COST(42),1))/REF(COST(42),1);B42:=IF(A42>0,A42,0);C42:=IF(A42<0,A42,0);
A43:=(COST(43)-REF(COST(43),1))/REF(COST(43),1);B43:=IF(A43>0,A43,0);C43:=IF(A43<0,A43,0);
A44:=(COST(44)-REF(COST(44),1))/REF(COST(44),1);B44:=IF(A44>0,A44,0);C44:=IF(A44<0,A44,0);
A45:=(COST(45)-REF(COST(45),1))/REF(COST(45),1);B45:=IF(A45>0,A45,0);C45:=IF(A45<0,A45,0);
A46:=(COST(46)-REF(COST(46),1))/REF(COST(46),1);B46:=IF(A46>0,A46,0);C46:=IF(A46<0,A46,0);
A47:=(COST(47)-REF(COST(47),1))/REF(COST(47),1);B47:=IF(A47>0,A47,0);C47:=IF(A47<0,A47,0);
A48:=(COST(48)-REF(COST(48),1))/REF(COST(48),1);B48:=IF(A48>0,A48,0);C48:=IF(A48<0,A48,0);
A49:=(COST(49)-REF(COST(49),1))/REF(COST(49),1);B49:=IF(A49>0,A49,0);C49:=IF(A49<0,A49,0);
A50:=(COST(50)-REF(COST(50),1))/REF(COST(50),1);B50:=IF(A50>0,A50,0);C50:=IF(A50<0,A50,0);
A51:=(COST(51)-REF(COST(51),1))/REF(COST(51),1);B51:=IF(A51>0,A51,0);C51:=IF(A51<0,A51,0);
A52:=(COST(52)-REF(COST(52),1))/REF(COST(52),1);B52:=IF(A52>0,A52,0);C52:=IF(A52<0,A52,0);
A53:=(COST(53)-REF(COST(53),1))/REF(COST(53),1);B53:=IF(A53>0,A53,0);C53:=IF(A53<0,A53,0);
A54:=(COST(54)-REF(COST(54),1))/REF(COST(54),1);B54:=IF(A54>0,A54,0);C54:=IF(A54<0,A54,0);
A55:=(COST(55)-REF(COST(55),1))/REF(COST(55),1);B55:=IF(A55>0,A55,0);C55:=IF(A55<0,A55,0);
A56:=(COST(56)-REF(COST(56),1))/REF(COST(56),1);B56:=IF(A56>0,A56,0);C56:=IF(A56<0,A56,0);
A57:=(COST(57)-REF(COST(57),1))/REF(COST(57),1);B57:=IF(A57>0,A57,0);C57:=IF(A57<0,A57,0);
A58:=(COST(58)-REF(COST(58),1))/REF(COST(58),1);B58:=IF(A58>0,A58,0);C58:=IF(A58<0,A58,0);
A59:=(COST(59)-REF(COST(59),1))/REF(COST(59),1);B59:=IF(A59>0,A59,0);C59:=IF(A59<0,A59,0);
A60:=(COST(60)-REF(COST(60),1))/REF(COST(60),1);B60:=IF(A60>0,A60,0);C60:=IF(A60<0,A60,0);
A61:=(COST(61)-REF(COST(61),1))/REF(COST(61),1);B61:=IF(A61>0,A61,0);C61:=IF(A61<0,A61,0);
A62:=(COST(62)-REF(COST(62),1))/REF(COST(62),1);B62:=IF(A62>0,A62,0);C62:=IF(A62<0,A62,0);
A63:=(COST(63)-REF(COST(63),1))/REF(COST(63),1);B63:=IF(A63>0,A63,0);C63:=IF(A63<0,A63,0);
A64:=(COST(64)-REF(COST(64),1))/REF(COST(64),1);B64:=IF(A64>0,A64,0);C64:=IF(A64<0,A64,0);
A65:=(COST(65)-REF(COST(65),1))/REF(COST(65),1);B65:=IF(A65>0,A65,0);C65:=IF(A65<0,A65,0);
A66:=(COST(66)-REF(COST(66),1))/REF(COST(66),1);B66:=IF(A66>0,A66,0);C66:=IF(A66<0,A66,0);
A67:=(COST(67)-REF(COST(67),1))/REF(COST(67),1);B67:=IF(A67>0,A67,0);C67:=IF(A67<0,A67,0);
A68:=(COST(68)-REF(COST(68),1))/REF(COST(68),1);B68:=IF(A68>0,A68,0);C68:=IF(A68<0,A68,0);
A69:=(COST(69)-REF(COST(69),1))/REF(COST(69),1);B69:=IF(A69>0,A69,0);C69:=IF(A69<0,A69,0);
A70:=(COST(70)-REF(COST(70),1))/REF(COST(70),1);B70:=IF(A70>0,A70,0);C70:=IF(A70<0,A70,0);
A71:=(COST(71)-REF(COST(71),1))/REF(COST(71),1);B71:=IF(A71>0,A71,0);C71:=IF(A71<0,A71,0);
A72:=(COST(72)-REF(COST(72),1))/REF(COST(72),1);B72:=IF(A72>0,A72,0);C72:=IF(A72<0,A72,0);
A73:=(COST(73)-REF(COST(73),1))/REF(COST(73),1);B73:=IF(A73>0,A73,0);C73:=IF(A73<0,A73,0);
A74:=(COST(74)-REF(COST(74),1))/REF(COST(74),1);B74:=IF(A74>0,A74,0);C74:=IF(A74<0,A74,0);
A75:=(COST(75)-REF(COST(75),1))/REF(COST(75),1);B75:=IF(A75>0,A75,0);C75:=IF(A75<0,A75,0);
A76:=(COST(76)-REF(COST(76),1))/REF(COST(76),1);B76:=IF(A76>0,A76,0);C76:=IF(A76<0,A76,0);
A77:=(COST(77)-REF(COST(77),1))/REF(COST(77),1);B77:=IF(A77>0,A77,0);C77:=IF(A77<0,A77,0);
A78:=(COST(78)-REF(COST(78),1))/REF(COST(78),1);B78:=IF(A78>0,A78,0);C78:=IF(A78<0,A78,0);
A79:=(COST(79)-REF(COST(79),1))/REF(COST(79),1);B79:=IF(A79>0,A79,0);C79:=IF(A79<0,A79,0);
A80:=(COST(80)-REF(COST(80),1))/REF(COST(80),1);B80:=IF(A80>0,A80,0);C80:=IF(A80<0,A80,0);
A81:=(COST(81)-REF(COST(81),1))/REF(COST(81),1);B81:=IF(A81>0,A81,0);C81:=IF(A81<0,A81,0);
A82:=(COST(82)-REF(COST(82),1))/REF(COST(82),1);B82:=IF(A82>0,A82,0);C82:=IF(A82<0,A82,0);
A83:=(COST(83)-REF(COST(83),1))/REF(COST(83),1);B83:=IF(A83>0,A83,0);C83:=IF(A83<0,A83,0);
A84:=(COST(84)-REF(COST(84),1))/REF(COST(84),1);B84:=IF(A84>0,A84,0);C84:=IF(A84<0,A84,0);
A85:=(COST(85)-REF(COST(85),1))/REF(COST(85),1);B85:=IF(A85>0,A85,0);C85:=IF(A85<0,A85,0);
A86:=(COST(86)-REF(COST(86),1))/REF(COST(86),1);B86:=IF(A86>0,A86,0);C86:=IF(A86<0,A86,0);
A87:=(COST(87)-REF(COST(87),1))/REF(COST(87),1);B87:=IF(A87>0,A87,0);C87:=IF(A87<0,A87,0);
A88:=(COST(88)-REF(COST(88),1))/REF(COST(88),1);B88:=IF(A88>0,A88,0);C88:=IF(A88<0,A88,0);
A89:=(COST(89)-REF(COST(89),1))/REF(COST(89),1);B89:=IF(A89>0,A89,0);C89:=IF(A89<0,A89,0);
A90:=(COST(90)-REF(COST(90),1))/REF(COST(90),1);B90:=IF(A90>0,A90,0);C90:=IF(A90<0,A90,0);
A91:=(COST(91)-REF(COST(91),1))/REF(COST(91),1);B91:=IF(A91>0,A91,0);C91:=IF(A91<0,A91,0);
A92:=(COST(92)-REF(COST(92),1))/REF(COST(92),1);B92:=IF(A92>0,A92,0);C92:=IF(A92<0,A92,0);
A93:=(COST(93)-REF(COST(93),1))/REF(COST(93),1);B93:=IF(A93>0,A93,0);C93:=IF(A93<0,A93,0);
A94:=(COST(94)-REF(COST(94),1))/REF(COST(94),1);B94:=IF(A94>0,A94,0);C94:=IF(A94<0,A94,0);
A95:=(COST(95)-REF(COST(95),1))/REF(COST(95),1);B95:=IF(A95>0,A95,0);C95:=IF(A95<0,A95,0);
A96:=(COST(96)-REF(COST(96),1))/REF(COST(96),1);B96:=IF(A96>0,A96,0);C96:=IF(A96<0,A96,0);
A97:=(COST(97)-REF(COST(97),1))/REF(COST(97),1);B97:=IF(A97>0,A97,0);C97:=IF(A97<0,A97,0);
A98:=(COST(98)-REF(COST(98),1))/REF(COST(98),1);B98:=IF(A98>0,A98,0);C98:=IF(A98<0,A98,0);
A99:=(COST(99)-REF(COST(99),1))/REF(COST(99),1);B99:=IF(A99>0,A99,0);C99:=IF(A99<0,A99,0);
A100:=(COST(99.9)-REF(COST(99.9),1))/REF(COST(99.9),1);B100:=IF(A100>0,A100,0);C100:=IF(A100<0,A100,0);
上移:B0+B1+B2+B3+B4+B5+B6+B7+B8+B9+
B10+B11+B12+B13+B14+B15+B16+B17+B18+B19+
B20+B21+B22+B23+B24+B25+B26+B27+B28+B29+
B30+B31+B32+B33+B34+B35+B36+B37+B38+B39+
B40+B41+B42+B43+B44+B45+B46+B47+B48+B49+
B50+B51+B52+B53+B54+B55+B56+B57+B58+B59+
B60+B61+B62+B63+B64+B65+B66+B67+B68+B69+
B70+B71+B72+B73+B74+B75+B76+B77+B78+B79+
B80+B81+B82+B83+B84+B85+B86+B87+B88+B89+
B90+B91+B92+B93+B94+B95+B96+B97+B98+B99+B100,LINETHICK0;
下移:C0+C1+C2+C3+C4+C5+C6+C7+C8+C9+
C10+C11+C12+C13+C14+C15+C16+C17+C18+C19+
C20+C21+C22+C23+C24+C25+C26+C27+C28+C29+
C30+C31+C32+C33+C34+C35+C36+C37+C38+C39+
C40+C41+C42+C43+C44+C45+C46+C47+C48+C49+
C50+C51+C52+C53+C54+C55+C56+C57+C58+C59+
C60+C61+C62+C63+C64+C65+C66+C67+C68+C69+
C70+C71+C72+C73+C74+C75+C76+C77+C78+C79+
C80+C81+C82+C83+C84+C85+C86+C87+C88+C89+
C90+C91+C92+C93+C94+C95+C96+C97+C98+C99+C100,LINETHICK0;
筹码移动:(下移+上移)/100,LINETHICK0;涨幅:=(C-REF(C,1))/REF(C,1);
筹码移动差:(涨幅-筹码移动)*60,NODRAW,LINETHICK0;
STICKLINE(筹码移动差>0,0,筹码移动差,2,0),COLORRED;
STICKLINE(筹码移动差<0,0,筹码移动差,2,0),COLORCYAN;
筹码1:EMA(筹码移动差,60)*30;
筹码2:MA(筹码1,5);
筹码3:MA(筹码1,10);