DRAWTEXT(20,30,'=●預警 ●='),LINETHICK6,COLORYELLOW;
KS:=(C-MA(C,13))/MA(C,13)*(-100);
C0:=(H L C)/3;
B1:=HHV(C0,H);
B2:=LLV(C0,H);
B3:=B1-B2;
B4:=EMA((C0-B2)/B3,12)*100;
U:=BARSSINCE(DATE=1060301)*0;
長期獲利籌碼:MA(C U,5);
獲利籌碼趨勢線:B4,COLOR00FF00,LINETHICK1;
W1:=HHV(C0,M);
W2:=LLV(C0,M);
W3:=W1-W2;
W4:=EMA((C0-W2)/W3,2)*100;
獲利籌碼:W4,COLORRED,LINETHICK3;
價格預警:=REF(C,1);
持股趨勢:EMA(100*WINNER(C0),23),COLORYELLOW;
獲利籌碼涌出:100;
上漲預警:=IF((C-價格預警)*100/價格預警>=(7-0.01*100/價格預警),80,0);{上漲預警改動這個數字 “(7- ”
下跌預警B:=IF((價格預警-C)*100/價格預警>=(7-0.01*100/價格預警),50,0);{下跌預警改動這個數字 “(7- ”
上漲預警B:STICKLINE(價格預警>=8,H,L,0,0),COLORRED;
STICKLINE(上漲預警>=8,O,C,20,1),COLORCYAN;
下跌預警:STICKLINE(價格預警=1,H,L,0,0),COLOREE8FFF;
STICKLINE(下跌預警=1,O,C,20,1),COLORYELLOW;