指标代码

K线当前获利盘

作者:天量见天价,地量见地价发布时间:2019年12月27日


{1}现价获利盘比例:=STRCAT(STRCAT('现价获利盘比例:    ',CON2STR(WINNER(C)*100,0)),' %');
DRAWTEXT_FIX(ISLASTBAR,0.0,0.0,0,现价获利盘比例),COLORLIRED;
{3}现价下跌1%获利:=STRCAT(STRCAT('现价下跌1%获利:   ',CON2STR(WINNER(C*0.99)*100,2)),' %');
DRAWTEXT_FIX(ISLASTBAR,0.0,0.06,0,现价下跌1%获利),COLORYELLOW;
{3}现价下跌2%获利:=STRCAT(STRCAT('现价下跌2%获利:   ',CON2STR(WINNER(C*0.98)*100,2)),' %');
DRAWTEXT_FIX(ISLASTBAR,0.0,0.12,0,现价下跌2%获利),COLORYELLOW;
{4}现价下跌3%获利:=STRCAT(STRCAT('现价下跌3%获利:   ',CON2STR(WINNER(C*0.97)*100,2)),' %');
DRAWTEXT_FIX(ISLASTBAR,0.0,0.18,0,现价下跌3%获利),COLORYELLOW;
{5}现价下跌4%获利:=STRCAT(STRCAT('现价下跌4%获利:   ',CON2STR(WINNER(C*0.96)*100,2)),' %');
DRAWTEXT_FIX(ISLASTBAR,0.0,0.24,0,现价下跌4%获利),COLORYELLOW;
{6}现价下跌5%获利:=STRCAT(STRCAT('现价下跌5%获利:   ',CON2STR(WINNER(C*0.95)*100,2)),' %');
DRAWTEXT_FIX(ISLASTBAR,0.0,0.3,0,现价下跌5%获利),COLORYELLOW;
{7}现价下跌6%获利:=STRCAT(STRCAT('现价下跌6%获利:   ',CON2STR(WINNER(C*0.94)*100,2)),' %');
DRAWTEXT_FIX(ISLASTBAR,0.0,0.36,0,现价下跌6%获利),COLORYELLOW;
{8}现价下跌7%获利:=STRCAT(STRCAT('现价下跌7%获利:   ',CON2STR(WINNER(C*0.93)*100,2)),' %');
DRAWTEXT_FIX(ISLASTBAR,0.0,0.42,0,现价下跌7%获利),COLORYELLOW;
{8}现价下跌8%获利:=STRCAT(STRCAT('现价下跌8%获利:   ',CON2STR(WINNER(C*0.92)*100,2)),' %');
DRAWTEXT_FIX(ISLASTBAR,0.0,0.48,0,现价下跌8%获利),COLORYELLOW;
{8}现价下跌9%获利:=STRCAT(STRCAT('现价下跌9%获利:   ',CON2STR(WINNER(C*0.91)*100,2)),' %');
DRAWTEXT_FIX(ISLASTBAR,0.0,0.54,0,现价下跌9%获利),COLORYELLOW;
{8}现价下跌10%获利:=STRCAT(STRCAT('现价下跌10%获利:   ',CON2STR(WINNER(C*0.90)*100,2)),' %');
DRAWTEXT_FIX(ISLASTBAR,0.0,0.6,0,现价下跌10%获利),COLORYELLOW;
{8}现价下跌11%获利:=STRCAT(STRCAT('现价下跌11%获利:   ',CON2STR(WINNER(C*0.89)*100,2)),' %');
DRAWTEXT_FIX(ISLASTBAR,0.0,0.66,0,现价下跌11%获利),COLORYELLOW;
{8}现价下跌12%获利:=STRCAT(STRCAT('现价下跌12%获利:   ',CON2STR(WINNER(C*0.88)*100,2)),' %');
DRAWTEXT_FIX(ISLASTBAR,0.0,0.72,0,现价下跌12%获利),COLORYELLOW;
{8}现价下跌13%获利:=STRCAT(STRCAT('现价下跌13%获利:   ',CON2STR(WINNER(C*0.87)*100,2)),' %');
DRAWTEXT_FIX(ISLASTBAR,0.0,0.78,0,现价下跌13%获利),COLORYELLOW;
{8}现价下跌14%获利:=STRCAT(STRCAT('现价下跌14%获利:   ',CON2STR(WINNER(C*0.86)*100,2)),' %');
DRAWTEXT_FIX(ISLASTBAR,0.0,0.84,0,现价下跌14%获利),COLORYELLOW;
{8}现价下跌15%获利:=STRCAT(STRCAT('现价下跌15%获利:   ',CON2STR(WINNER(C*0.85)*100,2)),' %');
DRAWTEXT_FIX(ISLASTBAR,0.0,0.9,0,现价下跌15%获利),COLORYELLOW;
{第二列}
现价下跌1%价格:=STRCAT(STRCAT('现价下跌1%价格:   ',CON2STR(C*0.99,2)),' 元');
DRAWTEXT_FIX(ISLASTBAR,0.170,0.06,0,现价下跌1%价格),COLORYELLOW;

现价下跌2%价格:=STRCAT(STRCAT('现价下跌2%价格:   ',CON2STR(C*0.98,2)),' 元');
DRAWTEXT_FIX(ISLASTBAR,0.170,0.12,0,现价下跌2%价格),COLORYELLOW;

现价下跌3%价格:=STRCAT(STRCAT('现价下跌3%价格:   ',CON2STR(C*0.97,2)),' 元');
DRAWTEXT_FIX(ISLASTBAR,0.170,0.18,0,现价下跌3%价格),COLORYELLOW;

现价下跌4%价格:=STRCAT(STRCAT('现价下跌4%价格:   ',CON2STR(C*0.96,2)),' 元');
DRAWTEXT_FIX(ISLASTBAR,0.170,0.24,0,现价下跌4%价格),COLORYELLOW;

现价下跌5%价格:=STRCAT(STRCAT('现价下跌5%价格:   ',CON2STR(C*0.95,2)),' 元');
DRAWTEXT_FIX(ISLASTBAR,0.170,0.3,0,现价下跌5%价格),COLORYELLOW;

现价下跌6%价格:=STRCAT(STRCAT('现价下跌6%价格:   ',CON2STR(C*0.94,2)),' 元');
DRAWTEXT_FIX(ISLASTBAR,0.170,0.36,0,现价下跌6%价格),COLORYELLOW;

现价下跌7%价格:=STRCAT(STRCAT('现价下跌7%价格:   ',CON2STR(C*0.93,2)),' 元');
DRAWTEXT_FIX(ISLASTBAR,0.170,0.42,0,现价下跌7%价格),COLORYELLOW;

现价下跌8%价格:=STRCAT(STRCAT('现价下跌8%价格:   ',CON2STR(C*0.92,2)),' 元');
DRAWTEXT_FIX(ISLASTBAR,0.170,0.48,0,现价下跌8%价格),COLORYELLOW;

现价下跌9%价格:=STRCAT(STRCAT('现价下跌9%价格:   ',CON2STR(C*0.91,2)),' 元');
DRAWTEXT_FIX(ISLASTBAR,0.170,0.54,0,现价下跌9%价格),COLORYELLOW;

现价下跌10%价格:=STRCAT(STRCAT('现价下跌10%价格:   ',CON2STR(C*0.90,2)),' 元');
DRAWTEXT_FIX(ISLASTBAR,0.170,0.6,0,现价下跌10%价格),COLORYELLOW;

现价下跌11%价格:=STRCAT(STRCAT('现价下跌11%价格:   ',CON2STR(C*0.89,2)),' 元');
DRAWTEXT_FIX(ISLASTBAR,0.170,0.66,0,现价下跌11%价格),COLORYELLOW;

现价下跌12%价格:=STRCAT(STRCAT('现价下跌12%价格:   ',CON2STR(C*0.88,2)),' 元');
DRAWTEXT_FIX(ISLASTBAR,0.170,0.72,0,现价下跌12%价格),COLORYELLOW;

现价下跌13%价格:=STRCAT(STRCAT('现价下跌13%价格:   ',CON2STR(C*0.87,2)),' 元');
DRAWTEXT_FIX(ISLASTBAR,0.170,0.78,0,现价下跌13%价格),COLORYELLOW;

现价下跌14%价格:=STRCAT(STRCAT('现价下跌14%价格:   ',CON2STR(C*0.86,2)),' 元');
DRAWTEXT_FIX(ISLASTBAR,0.170,0.84,0,现价下跌14%价格),COLORYELLOW;
现价下跌15%价格:=STRCAT(STRCAT('现价下跌15%价格:   ',CON2STR(C*0.85,2)),' 元');
DRAWTEXT_FIX(ISLASTBAR,0.170,0.9,0,现价下跌15%价格),COLORYELLOW;
{第三列}

{1}赢亏平衡价位:=STRCAT(STRCAT('赢亏平衡价位:   ',CON2STR(COST(0.001),2)),' 元');

DRAWTEXT_FIX(ISLASTBAR,0.34,0.0,0,赢亏平衡价位),COLORYELLOW;

{2}百分之一获利:=STRCAT(STRCAT('百分之一获利:   ',CON2STR(COST(1),2)),' 元');

DRAWTEXT_FIX(ISLASTBAR,0.34,0.06,0,百分之一获利),COLORYELLOW;

{3}百分之二获利:=STRCAT(STRCAT('百分之二获利:   ',CON2STR(COST(2),2)),' 元');

DRAWTEXT_FIX(ISLASTBAR,0.34,0.12,0,百分之二获利),COLORYELLOW;

{4}百分之三获利:=STRCAT(STRCAT('百分之三获利:   ',CON2STR(COST(3),2)),' 元');

DRAWTEXT_FIX(ISLASTBAR,0.34,0.18,0,百分之三获利),COLORYELLOW;

{5}百分之四获利:=STRCAT(STRCAT('百分之四获利:   ',CON2STR(COST(4),2)),' 元');

DRAWTEXT_FIX(ISLASTBAR,0.34,0.24,0,百分之四获利),COLORBROWN;

{6}百分之五获利:=STRCAT(STRCAT('百分之五获利:   ',CON2STR(COST(5),2)),' 元');

DRAWTEXT_FIX(ISLASTBAR,0.34,0.3,0,百分之五获利),COLORYELLOW;

{7}百分之六获利:=STRCAT(STRCAT('百分之六获利:   ',CON2STR(COST(6),2)),' 元');

DRAWTEXT_FIX(ISLASTBAR,0.34,0.36,0,百分之六获利),COLORYELLOW;

{8}百分之七获利:=STRCAT(STRCAT('百分之七获利:   ',CON2STR(COST(7),2)),' 元');

DRAWTEXT_FIX(ISLASTBAR,0.34,0.42,0,百分之七获利),COLORYELLOW;

{9}百分之八获利:=STRCAT(STRCAT('百分之八获利:   ',CON2STR(COST(8),2)),' 元');

DRAWTEXT_FIX(ISLASTBAR,0.34,0.48,0,百分之八获利),COLORYELLOW;

{10}百分之九获利:=STRCAT(STRCAT('百分之九获利:   ',CON2STR(COST(9),2)),' 元');

DRAWTEXT_FIX(ISLASTBAR,0.34,0.54,0,百分之九获利),COLORYELLOW;

{11}百分之十获利价:=STRCAT(STRCAT('百分之十获利价:   ',CON2STR(COST(10),2)),' 元');

DRAWTEXT_FIX(ISLASTBAR,0.34,0.6,0,百分之十获利价),COLORBROWN;


{12}百分之二十获利:=STRCAT(STRCAT('百分之二十获利:   ',CON2STR(COST(20),2)),' 元');

DRAWTEXT_FIX(ISLASTBAR,0.34,0.66,0,百分之二十获利),COLORYELLOW;

{13}百分之五十获利:=STRCAT(STRCAT('百分之五十获利:   ',CON2STR(COST(50),2)),' 元');

DRAWTEXT_FIX(ISLASTBAR,0.34,0.72,0,百分之五十获利),COLORBROWN;

{14}百分之八十获利:=STRCAT(STRCAT('百分之八十获利:   ',CON2STR(COST(80),2)),' 元');

DRAWTEXT_FIX(ISLASTBAR,0.34,0.78,0,百分之八十获利),COLORYELLOW;

{15}百分之百的获利:=STRCAT(STRCAT('百分之百的获利:   ',CON2STR(COST(99),2)),' 元');

DRAWTEXT_FIX(ISLASTBAR,0.34,0.84,0,百分之百的获利),COLORYELLOW;
{第四列}

{1}DRAWTEXT_FIX(ISLASTBAR ,0.5,0,0,STKNAME),COLORYELLOW;{名字}

{2}DRAWTEXT_FIX(ISLASTBAR ,0.5,0.06,0,CODE),COLORYELLOW;{代码}

{3}DRAWTEXT_FIX(ISLASTBAR ,0.5,0.12,0,HYBLOCK),COLORYELLOW;{所属行业}

{4}DRAWTEXT_FIX(ISLASTBAR ,0.5,0.18,0,DYBLOCK),COLORYELLOW;{所属地区}
{第五列}
{1}亏百分之五:=STRCAT(STRCAT('亏百分之五:   ',CON2STR(COST(10)-COST(10)*0.15,2)),' 元');

DRAWTEXT_FIX(ISLASTBAR,0.68,0.48,0,亏百分之五),COLORYELLOW;
{1}亏百分之十:=STRCAT(STRCAT('亏百分之十:   ',CON2STR(COST(10)-COST(10)*0.2,2)),' 元');

DRAWTEXT_FIX(ISLASTBAR,0.68,0.54,0,亏百分之十),COLORYELLOW;
{1}亏百分之⒂:=STRCAT(STRCAT('亏百分之⒂:   ',CON2STR(COST(10)-COST(10)*0.25,2)),' 元');

DRAWTEXT_FIX(ISLASTBAR,0.68,0.6,0,亏百分之⒂),COLORYELLOW;
{1}亏百分之⒇:=STRCAT(STRCAT('亏百分之⒇:   ',CON2STR(COST(10)-COST(10)*0.3,2)),' 元');

DRAWTEXT_FIX(ISLASTBAR,0.68,0.66,0,亏百分之⒇),COLORYELLOW;
{1}亏百分之三十:=STRCAT(STRCAT('亏百分之三十:   ',CON2STR(COST(10)-COST(10)*0.4,2)),' 元');

DRAWTEXT_FIX(ISLASTBAR,0.68,0.72,0,亏百分之三十),COLORYELLOW;
{1}亏百分之四十:=STRCAT(STRCAT('亏百分之四十:   ',CON2STR(COST(10)-COST(10)*0.5,2)),' 元');

DRAWTEXT_FIX(ISLASTBAR,0.68,0.78,0,亏百分之四十),COLORYELLOW;

 软件下载2 |
点击这里给我发消息 点击这里给我发消息
免责条款

    豫ICP备15000424号【股市有风险,投资需谨慎】,如发现本站有侵权内容请联系27995881@qq.com,本站将立刻删除。

| 今日IP[3] | 昨日IP[1] | 当前在线[1]