壹般交易(寄售、寄售、寄售)-指標公式源代碼
t1:=(ORDERVOL(1,0)-ORDERVOL(1,2));
t2:=-(ORDERVOL(2,0)-ORDERVOL(2,2))。
t3:=(TRANSACTVOL(1,0)-TRANSACTVOL(1,2));
t4:=-(TRANSACTVOL(2,0)-TRANSACTVOL(2,2));
委托購買:(ordervol (1,0)-ordervol (1,2)),顏色0000aa,線條粗細0,precis0
寄售:(ordervol (2,0)-ordervol (2,2)),顏色00aa00,線條粗細0,精度0;
魏靜:委托購買-委托銷售,顏色00ffff,精度0,圖層0,線條粗細0;;
主要買家:(Transactionvol (1,0)-Transactionvol (1,2)),顏色0000ff,線條粗細0,precise 0;
主要銷售:(transact vol (2,0)-transact vol (2,2)),顏色00ff00,線條粗細0,精度0;
主網:主買家-主賣家,顏色ff0000,精度0,圖層0,線條粗細0;;
委托購買總額:sum ((ordervol (1,0)-ordervol (1,2)),0),color 0000ff,line thick 0,precis0
寄售總額:sum ((ordervol (2,0)-ordervol (2,2)),0),color 00ff00,line thick 0,precis0
主動購買總額:sum ((transact vol (1,0)-transact vol (1,2)),0),color 0000ff,line thick 0,precis0
活躍總賣出:sum ((Transactionvol (2,0)-Transactionvol (2,2)),0),color 00ff00,line thick 0,precise 0;
粘附線(t 1 & gt;=0,0,t1,6,0),COLOR000055
粘附線(t2 & lt0,0,t2,6,0),COLOR005500
粘附線(t3 >0,0,t3,3,0),COLOR0000ff