高抛低吸·分时【经典指标】
{高抛低吸·分时【经典指标】}
{高抛低吸·副图【经典指标】一款附在分时下方的T+0专用指标}
现价:=DYNAINFO(7)COLORRED,NODRAW;
均价:SUM(V*C,0)/SUM(V,0),COLORYELLOW,NODRAW;
均价差:现价-均价,COLORGREEN,NODRAW;
RSV30:=(CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100;
K30:=SMA(RSV30,5,1);
D30:=SMA(K30,3,1);
J30:=(3*K30-2*D30)*1.0;
RSV21:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
K21:=SMA(RSV21,13,5);
主力线:=CEILING(SMA(K21,13,8)),COLORMAGENTA;
散户线:100*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))COLORBLUE,NODRAW; {COLOR76EE00};
超短线:=(((主力线-LLV(主力线,21))/(HHV(主力线,21)-LLV(主力线,21)))*(4))*(25),COLORLIRED,NODRAW;
低点位:=散户线=100;
高点位:=散户线=0;
逆散户线:=100*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))*(-1)+100,COLORMAGENTA,NODRAW; {COLOR76EE00}
振幅:DYNAINFO(5)-DYNAINFO(6)COLORRED,NODRAW;
格价差:(DYNAINFO(5)-DYNAINFO(6))/7,COLORGREEN,NODRAW; {DYNAINFO(5)最高价,DYNAINFO(6)最低价}
{交易备忘★副图【经典指标】}
博硕科技:DYNAINFO(7)COLORWHITE,NODRAW,COLORRED;
{说明:买、卖股票时,需要手动操作的项目共12项。单独买股或单独卖股,都需要操作10项。)
买股操作:①、在的“买入价格”一栏填写上买入价,与此同时,在“买入数量”一栏填写上买入量。
②、见到带有三星(★★★)符号的项,都需将“:”号后面的“=”符号去掉,同时,还要将“:”号后面没有“=”符号的项,都加上“=”符号。
卖股操作:③、在的“卖出价格”一栏填写上卖出价,与此同时,在“卖出数量”一栏填写上卖出量。
④、见到带有三星(★★★)符号的项,都需将“:”号后面的“=”符号去掉,同时,还要将“:”号后面没有“=”符号的项,都加上“=”符号。
收宫操作:⑤、在买股、卖股一轮交易结束后,要将本轮交易中的盈亏数据添加到“中线波段利润”或是“T加0交易利润”栏目中去,做数据留存。
⑥、最后,再将其“买入价格”、“买入数量”、“卖出价格”、“卖出数量”四个栏目中的数据清除、归“0”。这样,整个交易过程才算是完成了。
○、资产原值:222052.33+5338.23=227390.56元 ○ 原1000股成本价:91.055元 ○今1500股成本价:91.986元-91.031元-90.891元。}
{○、资本金余额_2021_11_22_○ 现金资产:89370.17○ 股票市值:140670 ○ 总资产:230040.17 ○ 留下每日盘后数值,方便隔日T+0交易核算。}
0,COLORBLACK,NODRAW;
买入价格:=91.986,COLORWHITE,NODRAW; {买股时,需填入买入价。保留“=”符号。}
买入数量:=1500,COLORRED,NODRAW; {买股时,需填入买入量。保留“=”符号。}
卖出价格:=0,NODRAW; {卖股时,需填入卖出价。保留“=”符号。}
卖出数量:=0,NODRAW; {卖股时,需填入卖出价。保留“=”符号。}
买股手续费:=买入价格*买入数量*3/10000; {万分之三}
卖股手续费:=卖出价格*卖出数量*3/10000; {万分之三}
卖股之税费:=卖出价格*卖出数量*1/ 1000; {千分之一}
手续费税费合计:=买股手续费+卖股手续费+卖股之税费;
{○、加仓计价公式:(原买入价格*原持仓数量+加仓买入价格*加仓买入数量)/(原持仓数量+加仓买入数量)。}
{○、减仓计价公式:原买入价-(减仓所得收益/留下来的股数)。}
T买入价格:=0,COLORWHITE,NODRAW; {买股时,需填入买入价。保留“=”符号。}
T买入数量:=0,COLORRED,NODRAW; {买股时,需填入买入量。保留“=”符号。}
T卖出价格:=0,NODRAW; {卖股时,需填入卖出价。保留“=”符号。}
T卖出数量:=0,NODRAW; {卖股时,需填入卖出价。保留“=”符号。}
T买股手续费:=T买入价格*T买入数量*3/10000; {万分之三}
T卖股手续费:=T卖出价格*T卖出数量*3/10000; {万分之三}
T卖股之税费:=T卖出价格*T卖出数量*1/ 1000; {千分之一}
T交易之差额:=0;
{该项是T+0的微调项。其每一笔的T+0交易,都要以“资本金账户”中数值为准,且,最后,都要将差额数值用手工填写到“T交易之差额”中去。}
T手续费税费合计:=T买股手续费+T卖股手续费+T卖股之税费+T交易之差额;
T交易盈亏:T卖出价格*T卖出数量-T买入价格*T买入数量-T手续费税费合计,COLORYELLOW,NODRAW; {T+0交易结束后,需将盈亏额添加到“T加0交易利润”中去。尔后,将T+0买卖交易的数据归零。}
原始【股本】:=222052.33,COLORRED,NODRAW;{交易时段:2021.09.01-2022.09.01}
长线底仓浮盈:=0.00,COLORYELLOW,NODRAW;
中线波段利润:=4951.93,COLORGREEN,NODRAW;
T加0交易利润:=1880.17,COLORGREEN,NODRAW;
逆回购之收益:=139.22,COLORGREEN,NODRAW;
股息利息收益:=7.08,COLORGREEN,NODRAW;
{做波段收入: 82.12-84.16—2600 —4951.93 = 4951.93 元}
{做 T+0收入: 1880.17 = 1880.17 元}
{逆回购收入: 139.22 = 139.22 元}
{其它的收入: 7.08 = 7.08 元}
{纯利润: 4951.93+1880.17+139.22+7.08=6978.40元 ○6978.40+222052.33=229030.73元}
税后【利润】:中线波段利润 + T加0交易利润 + 逆回购之收益 + 股息利息收益,COLOR0099FF,NODRAW;
资产【原值】:原始【股本】+税后【利润】,COLORCYAN,NODRAW;{2021.11.12—227,100.21元}
持仓数量:=买入数量-卖出数量,COLORRED,NODRAW;
持仓比例:=C*持仓数量/(原始【股本】+税后【利润】)*100,COLORCYAN,NODRAW;
买股之股本:=买入价格*买入数量;
卖股之毛利:=卖出价格*卖出数量;
浮动成本【买】:=买入价格*买入数量*3/10000;
浮动成本【卖】:=C*买入数量*3/10000;
浮动成本【税】:=C*买入数量*1/ 1000;
浮动成本合计:=浮动成本【买】+浮动成本【卖】+浮动成本【税】;
成本费用【买】:=买入价格*买入数量*3/10000;
成本费用【卖】:=买入价格*买入数量*3/10000;
成本费用【税】:=买入价格*买入数量*1/ 1000;
成本费用合计:=成本费用【买】+成本费用【卖】+成本费用【税】;
0,COLORBLACK,NODRAW;
现金【资产】:资产【原值】+卖股之毛利-买股之股本-手续费税费合计,COLOR0099FF,NODRAW;
股票【市值】:C*持仓数量,COLORGREEN,NODRAW;
当前【总资产】:现金【资产】+股票【市值】,COLORRED,NODRAW;
0,COLORBLACK,NODRAW;
浮动盈亏:(C*买入数量)-买股之股本-买股手续费,COLORYELLOW,NODRAW; {}
浮动盈亏比例:浮动盈亏/(股票【市值】+浮动成本合计)*100,NODRAW,COLORCYAN;
买股★:=(C*买入数量)-(买入价格*买入数量)-买股手续费,NODRAW; {1670.048为差额}
买百分比:=买股★/原始【股本】*100,NODRAW;
卖股★:=(卖出价格*卖出数量)-(买入价格*买入数量)-手续费税费合计,NODRAW;
卖百分比:=卖股★/原始【股本】*100,NODRAW;
费用成本【买】:=手续费税费合计/买入数量,NODRAW;
费用成本【卖】:=手续费税费合计/卖出数量,NODRAW;
盈亏成本摊薄:=税后【利润】/持仓数量,NODRAW;
原保本价:买入价格+成本费用合计/买入数量+0.012,COLORYELLOW,NODRAW;
今保本价:买入价格+(浮动成本合计/买入数量)+0.012-盈亏成本摊薄,COLORRED,NODRAW;
日内振幅:DYNAINFO(5)-DYNAINFO(6)COLOR0099FF,NODRAW;
0,COLORBLACK,NODRAW;
户均:=11.03万元,COLORGREEN,NODRAW; {2021.11.10 ○20000000/FINANCE(8)○ (20000000流通股/16626持股户数=1202.935户均持股)○110300元/93.78收盘价=1176.157户}
备忘时段:=DRAWTEXT_FIX(C!=0,0.015,0.07,0,' 300951《博硕科技》:备忘录【1】—— 2021年9月1日-2022年9月1日。 '),COLORLICYAN;
战略底仓:=DRAWTEXT_FIX(C!=0,0.015,0.13,0,' 持仓比例:长线【战略底仓】1000股,中线【波段仓位】1000股,短线【机动仓位】600股。'),COLORLICYAN;
操盘策略:=DRAWTEXT_FIX(C!=0,0.015,0.19,0,' 操盘策略:持有的战略底仓雷打不动,持股待涨。波段仓位可做波段操作。机动仓位则可随时随地地做 “ 日内 T+0 ” 操盘。'),COLORLICYAN;
箴言摘要:=DRAWTEXT_FIX(C!=0,0.015,0.25,0,' 炒股箴言:股市投资,能等善捂才能赢。下跌时段,要耐心等待,不见地量不进。上涨时段,要善于捂股,不放天量不出。'),COLORLICYAN;
止损止盈:=DRAWTEXT_FIX(C!=0,0.015,0.31,0,STRCAT(' 止损止盈位: 止损__',STRCAT(CON2STR( 0,00),' 元。中长线投资,不存在止损的问题。止盈__180元以上。第一步,先翻番了再说。 '))),COLORLICYAN;
盈亏【额度】:=DRAWTEXT_FIX(C!=0,0.015,0.37,0,STRCAT(' 盈亏【额度】: ',STRCAT(CON2STR(买股★,2),' 元 '))),COLORRED; {★★★买股之后,要将“:”号后面的“=”符号去掉。卖股之后,要在“:”号后面加上“=”符号。还原。}
盈亏【比例】:=DRAWTEXT_FIX(C!=0,0.015,0.43,0,STRCAT(' 盈亏【比例】: ',STRCAT(CON2STR(买百分比,2),' % '))),COLORGREEN; {★★★买股之后,要将“:”号后面的“=”符号去掉。卖股之后,要在“:”号后面加上“=”符号。还原。}
盈亏金额:=DRAWTEXT_FIX(C!=0,0.015,0.37,0,STRCAT(' 盈亏金额: ',STRCAT(CON2STR(卖股★,2),' 元 '))),COLORRED; {★★★买股之后,要在“:”号后面加上“=”符号。卖股之后,要将“:”号后面的“=”符号去掉。还原。}
盈亏比例:=DRAWTEXT_FIX(C!=0,0.015,0.43,0,STRCAT(' 盈亏比例: ',STRCAT(CON2STR(卖百分比,2),' % '))),COLORGREEN; {★★★买股之后,要在“:”号后面加上“=”符号。卖股之后,要将“:”号后面的“=”符号去掉。还原。}
持仓量:=DRAWTEXT_FIX(C!=0,0.015,0.49,0,STRCAT(' 持仓量【股】:',STRCAT(CON2STR(持仓数量,0),' 股 '))),COLOR0099FF;
持仓比:=DRAWTEXT_FIX(C!=0,0.015,0.55,0,STRCAT(' 持仓比【%】:',STRCAT(CON2STR(持仓比例,2),' %'))),COLORCYAN;
户均【持股】:=DRAWTEXT_FIX(C!=0,0.015,0.61,0,STRCAT(' 户均【持股】: ',STRCAT(CON2STR(户均,2),' % '))),COLORGREEN;
操盘目标:=DRAWTEXT_FIX(C!=0,0.015,0.67,0,' 操盘目标:中长线投资,股本扩张是重点。短线操盘,赢取差价才是重点。最终,则都是为了实现资本金翻番、成本归零【为负】这个目标。'),COLORLICYAN;
预期收益:=DRAWTEXT_FIX(C!=0,0.015,0.73,0,' 预期收益:+ 30% / 年均复利增长 ○ 第一年增值目标—— + 66615.70元 预期实现目标:222052.33+66615.70=288668.03元'),COLORLICYAN;
指标说明:=DRAWTEXT_FIX(C!=0,0.015,0.79,0,' 指标说明:该指标只有与《博硕科技》这支个股对上时,数据才是有效的。该指标在其它个股中显示的数据均为无效数据。'),COLORLICYAN;
备注说明:=DRAWTEXT_FIX(C!=0,0.015,0.85,0,' 备注说明:2021年9月1日-2021年11月3日完成第一轮交易。第二轮交易于2021年11月19日启动。'),COLORBROWN;
{○自备忘时段到备注说明中的文字部分,大都是能够随时随地重新改写的“可变文字”。}
0,COLORBLACK,NODRAW;
0,COLORBLACK,NODRAW;
0,COLORBLACK,NODRAW;
0,COLORBLACK,NODRAW;
0,COLORBLACK,NODRAW;
0,COLORBLACK,NODRAW;
0,COLORBLACK,NODRAW;
0,COLORBLACK,NODRAW;
0,COLORBLACK,NODRAW;
0,COLORBLACK,NODRAW;
{收盘报价●副图【经典指标】}
收盘报价:=CLOSE,COLORBROWN;
0,COLORBLACK,NODRAW;
浮5:=EXPMEMA(收盘报价,5),COLORYELLOW;
浮4:=EXPMEMA(收盘报价,4),COLORGREEN;
浮3:=EXPMEMA(收盘报价,3),COLORRED;
浮2:=EXPMEMA(收盘报价,2),COLORWHITE;
色块:=DRAWBAND(浮4,RGB(0,0,238),浮3,RGB(255,255,0));
浮动5:=EXPMEMA(收盘报价,5),LINETHICK1,COLORGREEN;
浮动4:=EXPMEMA(收盘报价,4),COLORLIMAGENTA;
浮动3:=EXPMEMA(收盘报价,3),COLORLIBLUE;
浮动2:=EXPMEMA(收盘报价,2),LINETHICK1,COLORRED;
{说明:若不想显示趋势走势指标,可在“:”号后面全都添加上“=”符号即可。}
多头启涨:=DRAWICON(CROSS(REF(浮3,0),REF(浮3,1))AND CROSS(REF(浮5,0),REF(浮5,1)),浮5,1);
{年月日【星期】}
D1:=YEAR AND MONTH AND DAY;
AA1:=STRCAT(CON2STR(YEAR,0),'年');
AA2:=STRCAT(CON2STR(MONTH,0),'月');
AA3:=STRCAT(CON2STR(DAY,0),'日');
AA4:=STRCAT('【',IF(WEEKDAY=1,'一',IF(WEEKDAY=2,'二',IF(WEEKDAY=3,'三',IF(WEEKDAY=4,'四',IF(WEEKDAY=5,'五',IF(WEEKDAY=6,'六','日')))))));
AA0:=STRCAT(STRCAT(STRCAT(AA1,AA2),STRCAT(AA3,AA4)),'】');
当前日期:=DRAWTEXT_FIX(C!=0,0.015,0.31,0,' 当前日期 —— '),COLORBROWN;
年月日【星期】:=DRAWTEXT_FIX(D1,0.065,0.31,0,AA0),COLORBROWN;
每股收益【元】:=FINANCE(38),NODRAW,COLORRED;
毛利率【%】:=(1-FINANCE(21)/FINANCE(20))*100,NODRAW,COLOR0099FF;
现金流【元】:=FINANCE(25),NODRAW,COLORGREEN;
每股净资产:=FINANCE(34)NODRAW,COLORLIMAGENTA;
{交易备忘:原始投资额为222052.33元。第一轮交易结束后的余额为227004.26元。
第一轮交易:计2600股,买入均价:82.12元,卖出均价:84.16元,交易获利:+ 4951.93 元,总体盈亏:+ 2.23%。
第二轮交易:计1500股,买入均价:91.99元,卖出均价:00.00元,交易获利:+ 0000.00 元,总体盈亏:+ 0.00%。
第三轮交易
○ 总 资 产-原始股本=盈亏总额 ○ 237860.34 - 222052.33= 15808.01
○ 税后利润+浮动盈亏=盈亏总额 ○ 6978.40 + 8829.61= 15808.01
○ 税后利润+原始股本=资产原值 ○ 222052.33 + 6978.40=229030.73
○ 盈亏总额+原始股本=总 资 产 ○ 15808.01 + 222052.33=237860.34 2021年11月23日. };
{*******************************************************};
0,COLORBLACK,NODRAW;
短:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5))NODRAW,COLORRED;
中:=100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10))NODRAW,COLORGREEN;
长:=100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20))NODRAW,COLORRED;
腾挪线:=长,COLORBROWN,NODRAW;
120,COLORBLACK;
提示:=DRAWTEXT_FIX(C!=0,0.01,0.00,0,'绿豆、红豆同时出现,当视为短线见底信号。
可做低吸高抛。土豆、黑白豆同时出现,当视为短线见顶信号。可做高抛低吸。
注意:做T与否,最终还是要看分时量柱与格价差这二项指标是否达标。格价差超不过0.20元,分时量柱超不过6格时,勿轻易出手。'),COLORRED;
V11:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);
趋势线:=EMA(V11,3)COLORRED;
准备撤退:=STICKLINE(趋势线>=(99),125,132,2,0),COLORGREEN;
0,COLORBLACK;
QJ:=BETWEEN(TIME,0930,1500);
时间段内画线:=IF(QJ,CONST(HHV(QJ*H,0)),DRAWNULL),DOTLINE;
{分时量柱 【副图指标】}
AAA:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL);
白量柱:=STICKLINE(CLOSE=REF(CLOSE,1),0,VOL,0,0),COLORWHITE,NODRAW;
红量柱:=STICKLINE(CLOSE>REF(CLOSE,1),0,VOL,0,0),COLORRED,NODRAW;
绿量柱:=STICKLINE(CLOSE<REF(CLOSE,1),0,VOL,0,0),COLORGREEN,NODRAW;
F1:=V>REF(HHV(V,240),1);
超量:DRAWICON(F1,-10,41);
分时大量柱:STICKLINE(超量,0,100,0,0),COLORYELLOW;
{涨跌量线—副图}
上涨量:=SUM(IF(C>REF(C,1),V,DRAWNULL),0)COLORRED;
下跌量:=SUM(IF(C<REF(C,1),V,DRAWNULL),0)COLORGREEN;
量比:=上涨量/下跌量,COLORYELLOW,NODRAW;
主动买:=IF(CLOSE>OPEN,BB*(HIGH-LOW),IF(CLOSE<OPEN,BB*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2));
主动买量:=主动买/10000,COLORRED,LINETHICK1;
主动卖:=IF(CLOSE>OPEN,0-BB*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-BB*(HIGH-LOW),0-VOL/2));
主动卖量:=-主动卖/10000,COLORLIGREEN,LINETHICK1;
盘比:=(主动买量/主动卖量),COLORRED,NODRAW;
参与度:=主动买量/(主动买量+主动卖量),COLOR0099FF,NODRAW;
0,NODRAW,COLORBLACK;
超短线2:=(((主力线-LLV(主力线,21))/(HHV(主力线,21)-LLV(主力线,21)))*(4))*(25),COLORLIRED;
毛利【%】: (1-FINANCE(21)/FINANCE(20))*100,NODRAW,COLOR0099FF;
收益:FINANCE(38),NODRAW,COLORRED;
净资产:=FINANCE(34),NODRAW,COLORYELLOW;
快线:=EMA(J30,1)COLORRED,LINETHICK1;
慢线:=EMA(J30,3),COLORGREEN,LINETHICK1;
腾挪:=长,COLORBROWN;
0,COLORBLACK;
0,COLORBLACK;
0,COLORBLACK;
散户线走势:散户线,COLORBLUE;
逆散户线走势:=逆散户线,COLORMAGENTA; {COLOR76EE00};
深坑:DRAWBAND(快线,RGB(218,33,33),慢线,RGB(33,218,33));
{DRAWBAND(快线,RGB(228,268,228),慢线,RGB(55,70,80))};
短线超跌:=STICKLINE(快线<(0),-4,-5,1.5,0)COLOR888888;
绿豆低吸1:DRAWTEXT(FILTERX(低点位,6),3,'●')COLORGREEN;
绿豆低吸2:DRAWTEXT(FILTERX(低点位,6),11,'低')COLORGREEN;
绿豆低吸3:DRAWTEXT(FILTERX(低点位,6),3,'○')COLORBROWN;
红豆超跌1:DRAWTEXT(FILTERX(快线<(0),100),-3,'●')COLORRED;
红豆超跌2:DRAWTEXT(FILTERX(快线<(0),100),-16,'吸')COLORRED;
土豆高抛1:DRAWTEXT(FILTERX(高点位,6),103,'●')COLOR0099FF;
土豆高抛2:DRAWTEXT(FILTERX(高点位,6),111,'高')COLOR0099FF;
黑白豆超涨1:DRAWTEXT(FILTERX(快线>(100),10),97,'●')COLORBLACK;
黑白豆超涨2:DRAWTEXT(FILTERX(快线>(100),10),89,'抛')COLORYELLOW;
黑白豆超涨3:DRAWTEXT(FILTERX(快线>(100),10),97,'○')COLORWHITE;
高抛:=DRAWICON(EXIST(V>=HHV(V,20)*100,0) && 土豆高抛1 && 散户线=0,110,5);
低吸:=(红豆超跌1 && 绿豆低吸1),NODRAW;
顶B:=IF(FILTERX(高抛,10),100,0),STICK,COLORYELLOW,LINETHICK1;
底B:=IF(FILTERX(低吸,10),100,0),STICK,COLORYELLOW,LINETHICK1;
H1:=MAX(DYNAINFO(3),DYNAINFO(5));
L1:=MIN(DYNAINFO(3),DYNAINFO(6));
P1:=H1-L1;
阻力:=L1+P1*8/9,COLORLIRED,DOTLINE;
支撑:=L1+P1*0.5/9,COLORGREEN,DOTLINE;
均线:=IF(BETWEEN(C/(SUM(AMOUNT,0)/SUM(VOL*100,0)),1.05,0.95)=0,MA(C,0),(SUM(AMOUNT,0)/SUM(VOL*100,0))),COLORYELLOW,DOTLINE;
符号01:=DRAWTEXT(LONGCROSS(支撑,C,2),C-0.01,' 买入'),COLOR0000FF;
符号02:DRAWICON(LONGCROSS(支撑,C,2),-22,42);
符号03:=DRAWTEXT(LONGCROSS(C,阻力,2),C+0.01,' 卖出'),COLORGREEN;
符号04:DRAWICON(LONGCROSS(C,阻力,2),132,43);
提示0:DRAWTEXT_FIX(C!=0,0.01,0.07,0,'★★★ 《高抛低吸》指标,其形态具有延续性,要想看清个股分时的整体走势,开盘后的一小时,宜多使用2日分时来看盘。'),COLORBROWN;
顶D:-32,COLORLICYAN,LINETHICK1;
底D:132,COLORLICYAN,LINETHICK1;
高位:100,COLOR999999,DOTLINE;
中位:50,COLOR555555,,DOTLINE;
低位:0,COLOR999999,DOTLINE;
VAR2:=REF(LOW,1);
VAR3:=SMA(ABS(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100;
VAR4:=EMA(IF(CLOSE*1.2,VAR3*10,VAR3/10),3);
VAR5:=LLV(LOW,38);
VAR6:=HHV(VAR4,38);
VAR7:=IF(LLV(LOW,90),1,0);
VAR8:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7;
DD:=VAR8>5;
VAR1S:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
VAR2S:=SMA(ABS(LOW-VAR1S),13,1)/SMA(MAX(LOW-VAR1S,0),10,1);
VAR3S:=EMA(VAR2S,10);
VAR4S:=LLV(LOW,33);
VAR5S:=EMA(IF(LOW<=VAR4S,VAR3S,0),3);
主力进场:=IF(VAR5S>REF(VAR5S,1),VAR5S,0)*1.1,LINETHICK1,COLORRED;
进场柱:=STICKLINE(VAR5S>REF(VAR5S,1),0,VAR5S,1.80,1 ),COLORRED;
震仓:=IF(VAR5S<REF(VAR5S,1),VAR5S,0),COLORGREEN;
买入:=IF((COUNT(DD,2)=2),-20,0)COLORBLACK;
底:=IF(FILTERX((CROSS(震仓,主力进场)AND 买入=-20),10),100,0),STICK,COLORMAGENTA,LINETHICK1;
{堪称一绝—副图指标}
Q_1:=C-REF(C,1);
Q_2:=100*EMA(EMA(Q_1,6),6)/EMA(EMA(ABS(Q_1),6),6);
Q_3:=CROSS(EMA(C,19),EMA(C,7));
Q_4:=CROSS(EMA(C,7),EMA(C,19));
Z1:=L=LLV(L,BARSLAST(Q_3)+1);
Z2:=LLV(L,BARSLAST(Q_3)+1);
Z3:=H=HHV(H,BARSLAST(Q_4)+1);
Z4:=HHV(H,BARSLAST(Q_4)+1);
Q_A:=DRAWLINE(Z1,Z2,Z3,Z4,0);
Y1:=H=HHV(H,BARSLAST(Q_4)+1);
Y2:=HHV(H,BARSLAST(Q_4)+1);
Y3:=L=LLV(L,BARSLAST(Q_3)+1);
Y4:=LLV(L,BARSLAST(Q_3)+1);
Q_B:=DRAWLINE(Y1,Y2,Y3,Y4,0);
X1:=LLV(Q_2,2)=LLV(Q_2,7) ;
X2:=COUNT(Q_2<0,2);
X3:=CROSS(Q_2,MA(Q_2,2));
X4:=REF(Q_B,1)<REF(Q_B,2);
X5:=Q_A>REF(Q_B,1);
买进:=(X1 AND X2 AND X3) AND X4 AND X5;
TJ:=IF(Q_B<REF(Q_B,1) AND Q_B=Q_A,1,0);
堪称一绝:=IF(REF(TJ,1)=0 AND TJ>=1,80,-10),STICK,COLORRED;
清仓持币:=IF(Q_B<REF(Q_B,1) AND Q_B=Q_A,0,-10),STICK,COLORGREEN;
堪称一绝2:STICKLINE(堪称一绝,-6,-10,10,0)COLORLIMAGENTA;
清仓持币2:STICKLINE(清仓持币,-6,-10,10,0)COLORLICYAN;
地狱底:0,COLORGRAY;
地狱线:-10,COLORGRAY;
地平线:=20,COLORLIMAGENTA;
天际线:=80,COLORGRAY;
RSV:=(((CLOSE - LLV(LOW,33)) / (HHV(HIGH,33) - LLV(LOW,33))) * 100);
神仙:=SMA(RSV,7,1),COLORWHITE;
魔鬼:=SMA(SMA(RSV,7,1),3,1),COLORYELLOW;
轨迹:=SMA(SMA(SMA(RSV,6,1),5,1),3,1),COLORMAGENTA;
财神到:=IF(CROSS(神仙,20),20,0),POINTDOT;
财神多头信号:DRAWICON(REF(TJ,1)=0 AND TJ>=1,0,1);