中信期貨股指日內炒單開戶 股票入門基礎知識學習教程 年中大回饋
充值5萬即送5888管理費
永安開戶 電話:13675877927 正規股票配資,首存贈送5888元
國泰君安期貨QQ:296131368
最新CTP平臺極速1毫秒
AA類期貨公司手續費統統加1毛
電話/微信13675877927
我出錢您炒股注冊送3萬元操盤金 概念題材股資料匯總
抓強勢漲停板牛股必看
股票配資開戶,高達10倍杠桿
  • 作者:小徐哥
  • 積分:7568
  • 等級:國際金融炒家
  • 2012/3/29 19:55:00
  • 樓主(閱:47068/回:0)一線天趨勢主圖公式【通達信】


    源碼:
    AA:=C<3;
    MM:=3>REF(3,1) AND REF(3,1)<REF(3,2) ;
    超買:MA(C,10)*IF(CAPITAL=0,1.04,1.1),POINTDOT,COLORGREEN,LINETHICK2;
    超賣:MA(C,10)*IF(CAPITAL=0,0.95,0.9),POINTDOT,COLORRED,LINETHICK2;
    趨線:EMA(((SLOPE(CLOSE,21) * 20) + CLOSE),42);
    獲利%:WINNER(CLOSE)*100,NODRAW;
    V1:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);
    V2:=(1-7/100)*(DMA(CLOSE,V1));
    V3:=(1+7/100)*(DMA(CLOSE,V1));
    V5:=MA((LOW+HIGH+CLOSE)/3,5);
    VAR1:=CLOSE=HHV(C,4) AND (REF(C,1)>=REF(C,2) OR REF(C,1)>=REF(C,3))
    OR REF(C,1)=HHV(C,4) AND CLOSE>=REF(C,2) OR REF(C,2)=HHV(C,4) AND
    REF(C,3)=LLV(C,4) AND C>=REF(C,1) OR REF(C,3)=HHV(C,4) AND
    C>=REF(C,1) AND C>=REF(C,2);
    {收盤價=4日內收盤價的最高值 AND 昨收>=2日前的收盤價}
    VAR2:=CLOSE=HHV(C,4) AND REF(C,1)=LLV(C,4);
    {收盤價=4日內收盤價的最高值 AND 昨收=4日內收盤價的最低值}
    VAR3:=CLOSE=LLV(C,4) AND (REF(C,1)<REF(C,2) OR REF(C,1)<REF(C,3)) OR
    REF(C,1)=LLV(C,4) AND C<REF(C,2) OR REF(C,2)=LLV(C,4) AND
    REF(C,1)=HHV(C,4) AND C<REF(C,1) OR REF(C,3)=LLV(C,4) AND
    C<REF(C,1) AND C<REF(C,2);
    {收盤價=4日內收盤價的最低值 AND (昨收<2日前的收盤價}
    VAR4:=REF(C,1)=LLV(C,4) AND C>=REF(C,2) OR REF(C,2)=LLV(C,4) AND
    REF(C,1)<=REF(C,3) AND REF(C,2)<REF(C,4) AND C>=REF(C,1);
    {昨收=4日內收盤價的最低值 AND 收盤價>=2日前的收盤價}
    VAR5:=REF(C,1)=HHV(C,4) AND C<REF(C,2) OR (REF(C,2)=HHV(C,4) AND
    REF(C,1)>REF(C,3) OR REF(C,3)=HHV(C,4) AND REF(C,1)>REF(C,2)) AND
    REF(C,2)>=REF(C,4) AND C<REF(C,1);
    {昨收=4日內收盤價的最高值 AND 收盤價<2日前的收盤價}
    VAR6:=V5>REF(V5,1) AND REF(V5,1)<REF(V5,2);
    {今日V5向上形成拐點}
    VAR7:=LOW<HHV(V5,13) AND HIGH>HHV(V5,13) AND CLOSE>REF(C,1) AND CLOSE>OPEN;
    VAR8:=VAR7 AND COUNT(VAR6,2);
    VAR9:=100*EMA(EMA(C-REF(C,1),6),6)/EMA(EMA(ABS(C-REF(C,1)),6),6);
    VAR10:=EMA(MA(C,13),13);
    VAR11:=FILTER((LLV(VAR9,2)=LLV(VAR9,7) AND COUNT(VAR9<0,2) AND
    CROSS(VAR9,MA(VAR9,2)))=1,5);
    VAR12:=FILTER((HHV(VAR9,2)=HHV(VAR9,7) AND COUNT(VAR9>50,2) AND
    CROSS(MA(VAR9,2),VAR9))=1,1);
    VAR13:=SMA(EMA((C-REF(C,1))/REF(C,1),5)*100,3,1)*10;
    VAR14:=FILTER(((CROSS(VAR13,0) OR CROSS(C,VAR10)) AND VAR11)=1,3);
    VAR15:=MA(C,18)>=REF(MA(C,18),3) AND CROSS(C,MA(C,18));
    VAR16:=VAR8 AND NOT(REF(VAR8,1));
    RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
    K:=SMA(RSV,3,1);
    D:=SMA(K,3,1);
    J:=3*K-2*D;
    金叉:=CROSS(J,D);
    死叉:=CROSS(D,J);
    買1:=(VAR14 OR VAR15) AND VAR11;
    買2:=(VAR14 OR VAR15) AND VAR4;
    買3:=(VAR14 OR VAR15) AND VAR2;
    買4:=(VAR2 AND VAR11) OR (VAR4 AND VAR11);
    買5:=(金叉 AND VAR4) OR (金叉 AND VAR2) OR (金叉 AND VAR11);
    {來源于: 股海網WWW.Guhai.com.cn}

    STICKLINE(金叉,OPEN,CLOSE,0.5,0),COLORYELLOW;
    STICKLINE(死叉,OPEN,CLOSE,0.5,0),COLOR000066;
    DRAWICON(VAR16,LOW-0.02,15);
    DRAWICON(買1 OR 買2 OR 買3 OR 買4 OR 買5 AND MM,LOW-0.05,15);
    DRAWICON(死叉 OR CROSS(50,VAR9) AND AA AND K>50,HIGH+0.01,2);

    X1:=(C+L+H)/3;
    BB5:=ATAN(EMA(X1,7)-REF(EMA(X1,7),1))*3.1416*10;
    EMA3:=EMA(C,3);
    DRAWTEXT(FILTER(BB5>1 AND EMA(X1,7)>REF(EMA(X1,7),1),10),
    LOW*0.99,'★∠45'),COLORFFFFFF;

    VAR81:=1;
    VAR82:=((((2*CLOSE)+HIGH)+LOW) / 4);
    低金叉進:=20;
    高死叉出:=90;
    VAR84:=LLV(LOW,5);
    VAR85:=HHV(HIGH,4);
    C1:=(EMA((((VAR82-VAR84)/(VAR85-VAR84))*100),4)*VAR81);
    C2:=(EMA(((0.667*REF(C1,1))+(0.333*C1)),2)*VAR81);
    條件1:=CROSS(C1,C2) AND C1<40;
    條件0:=CROSS(C2,C1) AND C1>90;
    TJ1:=CROSS(C1,C2);
    TJ2:=CROSS(C2,C1);
    TJ3:=CROSS(C1,C2) AND REF(C1,1)<20;
    TJ4:=CROSS(C2,C1) AND REF(C1,1)>80;
    DRAWTEXT(條件0,H*1.02,'S'),COLORBLUE;
    DRAWTEXT(TJ3 AND MM,L*0.98,'底');
    DRAWTEXT(TJ4 AND AA,H*1.02,'逃');
    STICKLINE((C-REF(C,1))/REF(C,1)>0.095,C,O,2,0),COLORYELLOW;
    水平面:=EMA(CLOSE,89);
    AAA:=(3*C+H+L+O)/6;
    短趨:=(8*AAA+7*REF(AAA,1)+6*REF(AAA,2)+5*REF(AAA,3)+4*REF(AAA,4)+3*REF(AAA,5)+2*REF(AAA,6)+REF(AAA,8))/36;
    中趨:=(LLV(短趨,2)+LLV(短趨,4)+LLV(短趨,6))/3;
    TTJ1:=VOL=HHV(VOL,10) AND VOL>2*REF(VOL,1) AND CLOSE>短趨;
    立樁量:=FILTER(TTJ1,5);
    TTJ2:=IF(BARSLAST(立樁量)=1 AND CLOSE>REF(HIGH,1),1,IF(BARSLAST(立樁量)=2 AND CLOSE>REF(HIGH,2),1,IF(BARSLAST(立樁量)=3 AND CLOSE>REF(HIGH,3),1,0)));
    突破:=TTJ2=1;
    TTJ3:=IF(BARSLAST(立樁量)=1 AND CLOSE>REF(LOW,1),1,IF(BARSLAST(立樁量)=2 AND CLOSE>REF(LOW,2),1,IF(BARSLAST(立樁量)=3 AND CLOSE>REF(LOW,3),1,0)));
    三天:=TTJ3=1;
    成立:=三天 AND 突破;
    條件:=FILTER(成立,3);
    DRAWTEXT(條件,L*0.93,'★'),COLOR00FFFF;
    VAR90:=((((HHV((((EMA(DCLOSE,12)-EMA(DCLOSE,26))-(EMA((EMA(DCLOSE,12)
    -EMA(DCLOSE,26)),9)))*2),4)<0) AND ((((EMA(DCLOSE,12)-EMA(DCLOSE,26))-
    (EMA((EMA(DCLOSE,12)-EMA(DCLOSE,26)),9)))*2)>REF((((EMA(DCLOSE,12)
    -EMA(DCLOSE,26))-(EMA((EMA(DCLOSE,12)-EMA(DCLOSE,26)),9)))*2),1)))
    AND (REF((((EMA(DCLOSE,12)-EMA(DCLOSE,26))-(EMA((EMA(DCLOSE,12)-
    EMA(DCLOSE,26)),9)))*2),1)<REF((((EMA(DCLOSE,12)-EMA(DCLOSE,26))-
    (EMA((EMA(DCLOSE,12)-EMA(DCLOSE,26)),9)))*2),2))) AND (REF((((EMA(DCLOSE,12)
    -EMA(DCLOSE,26))-(EMA((EMA(DCLOSE,12)-EMA(DCLOSE,26)),9)))*2),2)
    <REF((((EMA(DCLOSE,12)-EMA(DCLOSE,26))-(EMA((EMA(DCLOSE,12)-EMA(DCLOSE,
    26)),9)))*2),3)));
    DRAWTEXT(VAR90 AND MM,L*0.98,'買'),COLORRED;
    DRAWTEXT(CROSS(MA(C,3),MA(C,9)) AND C>=REF(C,1) AND C>O,L*0.98,'↑↑'),COLORMAGENTA;
    低點:=REF(LLV(L,250),3);

    最大的敵人實際上就是自己
    原油期貨開戶


    發帖須知:

    1,發帖請遵守《計算機信息網絡國際聯網安全保護管理辦法》、《互聯網信息服務管理辦法》、 《互聯網電子公告服務管理規定》、《維護互聯網安全的決定》等法律法規。

    2,請對您的言論負責,我們將保留您的上網記錄和發帖信息。

    3,在此發帖表示認同我們的條款,我們有權利對您的言論進行審核、刪除或者采取其他在法律、地方法規等條款規定之內的管理操作。
    內容:
    驗證: 驗證碼,看不清楚?請點擊刷新驗證碼 * 匿名發表需要進行驗證!
     
    228期p3试机号 四川麻将血流成河换三张 福彩25选7玩法 山西福利快乐10分走势图 股票怎么开户 内蒙古十一选五前三直走势图 3d*开奖结果 3d开奖结果试机号 广东快乐十分玩法介 快乐飞艇全天精准计划 湖北十一选五 海南琼崖麻将下载安 电影股票分析师 湖北十一选五任选基本走势图 福彩排列7开奖查询 哈灵麻将-本地休闲棋牌 财经新闻股票行情查询上证指数美的股份