{ 非交易日显示COPYRIGHTS }
DRAWTEXT_FIX(WEEKDAY>=5,0.01,0.98,0,'JYGOLDAJ POWERED BY JY'),COLOR383818;
{}
{ K SET K线改颜色BY JY }
STICKLINE(C<O,H,L,0,0),COLORFFDD00;
STICKLINE(C<O,C,O,2.6,0),COLORFFDD00;
STICKLINE(C>O,H,L,0,0),COLOR3333FF;
STICKLINE(C>O,C,O,2.6,1),COLOR3333FF;
STICKLINE(C=O,H,L,0,0),COLORWHITE;
STICKLINE(C=O,C,O,2.6,0),COLORWHITE;
{ AJ PRICE BY JY }
AJ_JY:=AMOUNT/100/V;
{ GOLD BAR BY JY }
JYGOLD:=V==HHV(V,60);
JYGOLDAJ:=VALUEWHEN(JYGOLD,AJ_JY);
STICKLINE(JYGOLD,AJ_JY,O,3.1,0),COLOR006190;
STICKLINE(JYGOLD,AJ_JY,O,2,0),COLOR0088BB;
STICKLINE(JYGOLD,AJ_JY,O,0.8,0),COLOR00BBEE;
STICKLINE(JYGOLD,AJ_JY,O,0.3,0),COLOR00CCDD;
STICKLINE(JYGOLD,AJ_JY,O,0.0,0),COLOR00FFFF;
{ 刻度线显示,BARSLAST(JYGOLD)<333;{是指,显示周期限定在333个K线,可按照需要修改}
STICKLINE(BARSLAST(JYGOLD)<333,REF(JYGOLDAJ,0),REF(JYGOLDAJ,0)-0.000000009587,5,0),COLOR00FFFF;