同花顺函数不全(只有最基础的函数),无法按照原指标转换。如果不需要小图标函数,勉强可以转换。提示,想以技术为主,不要使用该软件。、a1:=(vol/close)/2;a2:=sum(if(a1>500 and close>ref(close,1),a1,0),0);a3:=sum(if(a1>500 and close<ref(close,1),a1,0),0);机构买盘:=a2,linethick3, colorred;机构卖盘:=a3,linethick3,colorgreen;th:=sum(if(close>ref(close,1),vol,0),20);tl:=sum(if(close<ref(close,1),vol,0),20);tq:=sum(if(close=ref(close,1),vol,0),20);vr:=100*(th*2+tq)/(tl*2+tq);m**r:=ma(vr,4);b:=vr/m**r;bb:=机构买盘/机构卖盘;abv:ma(sum(if(close>ref(close,1),vol,if(close<ref(close,1),-vol,0)),0)/25000,2);m1:ema(abv,n1);m2:ema(abv,n2);qq:abv/ref(abv,1);drawtext(qq>100,qq*1.5,'主力预期'),coloryellow;drawicon(qq>100,qq,14);drawicon(qq>100,qq*1.1,14);drawicon(qq>100,qq*1.2,14);drawicon(qq>100,qq*1.4,14);多次1:abv/ref(abv,1)>1.3 and abv>0;drawicon(abv/ref(abv,1)>1.3 and abv>0,abv,13);drawicon(abv/m1>1.02 and abv>0 and cross(ref(abv,1),ref(m1,1)),abv*1.5,15);drawicon(abv/m1>1.02 and abv>0 and cross(ref(abv,2),ref(m1,2)),abv,14);drawicon(多次1=1,abv,25);drawicon(多次1=1,abv+3,25);drawicon(多次1=1,abv+6,25);drawicon(多次1=1,abv+9,25);drawicon(多次1=1,abv+12,25);//kk:ex**t(pow(b,5)>500,5);异动:pow(b,5),linethick5 ,coloryellow;//drawtext(pow(b,5)>500,异动*0.5,'b超级异动')coloryellow;//drawtext(多次1=1 and kk=1,异动+200,'涨停预期')colormagenta;drawicon(pow(b,5)>500,异动,13);异:pow(bb,2),linethick5 ,colorliblue;bbb:=bb/ref(bb,1);bbbb:=bbb/ref(bbb,1);恭:=count(bbb>1.5,15)>2 and bb>12;//drawtext(ref(bb,1)<8 and bb>=8,c,'bb异动')coloryellow;drawicon(ref(bb,1)<8 and bb>=8,bb,13);drawicon(异动线>50 ,异动线,9);drawicon(异动线>50 ,异动线*1.1,9);drawicon(异动线>50 ,异动线*1.2,9);drawicon(异动线>50 ,异动线*1.3,9);drawicon(异动线>50 ,异动线*1.4,9);drawicon(异动线>80 ,异动线*1.1,13);drawicon(异动线>1000 ,异动线*1.1,14);//涨停操作点h:=ex**t(异动线>80 and 异动线>1000,5 )and c<(xm#day*1.03) ;//多次涨停操作点h:count(涨停操作点h=1 ,8)>=5;//drawicon(多次涨停操作点h=1,异动线*1.1,27);//drawtext( 涨停操作点h=1 ,异动线+50,'涨 停 操 作 点 h')colorblue; 20210311