首頁>Club>
1
回覆列表
  • 1 # 大國師魂系列

    DRAWICON炒股函式的用法如下:(?條件,?位置?,??圖示?)用法

    當滿足條件--時,在什麼位置畫幾號圖示

    例如:常用指標MACD

    {引數;SHORT=12 LONG=26 MID=9}

    DIF:EMA(CLOSE,SHORT)-EMA(CLOSE,LONG);

    DEA:EMA(DIF,MID);

    MACD:(DIF-DEA)*2,COLORSTICK;

    DRAWICON(CROSS(DIF,DEA),DIF*1.05,1);

    {當DIF上交DEA時候,在DIF*1.05處,畫1圖示}

    DRAWICON(CROSS(DEA,DIF),DEA*0.90,2);

    {……}

    {用DRAWICON函式編寫公式,對照圖選擇自己喜歡的圖示,變化藍色數字:123456789至20}

    A0:=BARSLAST(DAY

    DRAWICON(A0=1,1,1);

    DRAWICON(A0=2,1,2);

    DRAWICON(A0=3,1,3);

    DRAWICON(A0=4,1,4);

    DRAWICON(A0=5,1,5);

    DRAWICON(A0=6,1,6);

    DRAWICON(A0=7,1,7);

    DRAWICON(A0=8,1,8);

    DRAWICON(A0=9,1,9);

    DRAWICON(A0=10,1,10);

    DRAWICON(A0=11,1,11);

    DRAWICON(A0=12,1,12);

    DRAWICON(A0=13,1,13);

    DRAWICON(A0=14,1,14);

    DRAWICON(A0=15,1,15);

    DRAWICON(A0=16,1,16);

    DRAWICON(A0=17,1,17);

    DRAWICON(A0=18,1,18);

    DRAWICON(A0=19,1,19);

    DRAWICON(A0=20,1,20);

    ----------------------

    DRAWTEXT(A0=1,0.1,"1");

    DRAWTEXT(A0=2,0.1,"2");

    DRAWTEXT(A0=3,0.1,"3");

    DRAWTEXT(A0=4,0.1,"4");

    DRAWTEXT(A0=5,0.1,"5");

    DRAWTEXT(A0=6,0.1,"6");

    DRAWTEXT(A0=7,0.1,"7");

    DRAWTEXT(A0=8,0.1,"8");

    DRAWTEXT(A0=9,0.1,"9");

    DRAWTEXT(A0=10,0.1,"10");

    DRAWTEXT(A0=11,0.1,"11");

    DRAWTEXT(A0=12,0.1,"12");

    DRAWTEXT(A0=13,0.1,"13");

    DRAWTEXT(A0=14,0.1,"14");

    DRAWTEXT(A0=15,0.1,"15");

    DRAWTEXT(A0=16,0.1,"16");

    DRAWTEXT(A0=17,0.1,"17");

    DRAWTEXT(A0=18,0.1,"18");

    DRAWTEXT(A0=19,0.1,"19");

    DRAWTEXT(A0=20,0.1,"20");

    -0.8,COLOR000000;1.5,COLOR000000。

  • 中秋節和大豐收的關聯?
  • 心絞痛病人可以走路鍛鍊嗎?