文件:3[1].资金瞭望哨A_hy.alg
名称: 3.资金瞭望哨A 类别:技术指标
说明: 星辰狮座.好运相伴
公式组: (▲K)何氏.赢富板块资金流向
DRAWGBK(CLOSE,COLORRGB(5,2,0),COLORRGB(5,2,0),1);
BB:=BARPOS=SYSPARAM(1);
VARIABLE:WDAY[7]='星期六';
WDAY[1]:='星期日';
WDAY[2]:='星期一';
WDAY[3]:='星期二';
WDAY[4]:='星期三';
WDAY[5]:='星期四';
WDAY[6]:='星期五';
FY:=YEAR;
FM:=MONTH;
FD:=DAY;
WD:=WEEKDAY;
P:=SYSPARAM(1);
STR1:=' '+'今日: '+NUMTOSTR(FY[P],0)+'年'+NUMTOSTR(FM[P],0)+'月'+NUMTOSTR(FD[P],0)+'日 '+WDAY[WD[P]+1];
DRAWTEXT(BARPOS=SYSPARAM(2),CLOSE,STR1),ALIGN4,PXDN10,colorFF00;
STR2:='╭☆╯大均习作╰☆╮';
DRAWTEXT(BARPOS=P,HIGH,STR2),ALIGN3,PXDN1,color88FF;
DRAWTEXT(BARPOS=P,HIGH,STR2),ALIGN3,color88FF;
资金流入:ESTDATA(1),LINEDOT,LINETHICK0,PRECISION0,colorFF00;
资金流出:ESTDATA(2),LINEDOT,LINETHICK0,PRECISION0,colorFF;
资金存量:ESTDATA(3),LINEDOT,LINETHICK0,PRECISION0,colorFFFF;
A:=BARSCOUNT(CLOSE)=SYSPARAM(1);
DRAWTEXT(BARPOS=SYSPARAM(2),CLOSE,' \n \n'+'当天资金流入:'+' '+NUMTOSTR(资金流入,0)+' '+'( 家 )'),ALIGN4,colorFF00;
DRAWTEXT(BARPOS=SYSPARAM(2),CLOSE,' \n \n'+' 当天资金流出:'+' '+NUMTOSTR(资金流出,0)+' '+'( 家 )'),ALIGN4,colorFF;
DRAWTEXT(BARPOS=SYSPARAM(2),CLOSE,' \n \n'+' 家数资金存量:'+' '+NUMTOSTR(资金存量,0)+' '+'( 家 )'),ALIGN4,colorFFFF;
STICKLINE(BARPOS=DATACOUNT-6,0,资金流入[P],18,0),color9900;
STICKLINE(BARPOS=DATACOUNT-6,0,资金流入[P],15,0),colorAA00;
STICKLINE(BARPOS=DATACOUNT-6,0,资金流入[P],10,0),colorBB00;
STICKLINE(BARPOS=DATACOUNT-6,0,资金流入[P],8,0),colorCC00;
STICKLINE(BARPOS=DATACOUNT-6,0,资金流入[P],5,0),colorDD00;
STICKLINE(BARPOS=DATACOUNT-6,0,资金流入[P],2,0),colorFF00;
STICKLINE(BARPOS=DATACOUNT-3,1,资金流出[P],18,0),color99;
STICKLINE(BARPOS=DATACOUNT-3,1,资金流出[P],15,0),colorAA;
STICKLINE(BARPOS=DATACOUNT-3,1,资金流出[P],10,0),colorBB;
STICKLINE(BARPOS=DATACOUNT-3,1,资金流出[P],8,0),colorCC;
STICKLINE(BARPOS=DATACOUNT-3,1,资金流出[P],5,0),colorDD;
STICKLINE(BARPOS=DATACOUNT-3,1,资金流出[P],2,0),colorFF;
STICKLINE(BARPOS=DATACOUNT,0,资金存量[P],18,0),color99FF;
STICKLINE(BARPOS=DATACOUNT,0,资金存量[P],15,0),colorAAFF;
STICKLINE(BARPOS=DATACOUNT,0,资金存量[P],10,0),colorBBFF;
STICKLINE(BARPOS=DATACOUNT,0,资金存量[P],8,0),colorCCFF;
STICKLINE(BARPOS=DATACOUNT,0,资金存量[P],5,0),colorDDFF;
STICKLINE(BARPOS=DATACOUNT,0,资金存量[P],2,0),colorFFFF;
DRAWTEXT(BARPOS=DATACOUNT-7,资金流入[P],'资\n金\n流\n入'),ALIGN5,PXUP82,colorFF;
DRAWTEXT(BARPOS=DATACOUNT-4,资金流出[P],'资\n金\n流\n出'),ALIGN5,PXUP82,colorFFFFFF;
DRAWTEXT(BARPOS=DATACOUNT-1,资金存量[P],'资\n金\n存\n量'),ALIGN5,PXUP82,colorFF00; |