就是用来看30种货币对的3日波幅,自己学着写的
!30种货币对日波幅.rar
(74.92 KB, 下载次数: 80)
代码:
- #property indicator_separate_window
- extern color LongColor = LimeGreen;
- extern color ShortColor = Red;
- double Point0 = 0.01;
- double Point1 = 0.001;
- double Point2 = 0.00001;
- int start()
- {
- IndicatorShortName("i");
- ObjectCreate("Title1", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Title1","█████",9, "Arial Bold", SkyBlue);
- ObjectSet("Title1", OBJPROP_CORNER, 0);
- ObjectSet("Title1", OBJPROP_XDISTANCE, 10);
- ObjectSet("Title1", OBJPROP_YDISTANCE, 2);
- ObjectCreate("Day1_2", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Day1_2","前天", 9, "Arial Bold", SkyBlue);
- ObjectSet("Day1_2", OBJPROP_CORNER, 0);
- ObjectSet("Day1_2", OBJPROP_XDISTANCE, 60);
- ObjectSet("Day1_2", OBJPROP_YDISTANCE, 2);
- ObjectCreate("Day1_1", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Day1_1","昨天", 9, "Arial Bold", SkyBlue);
- ObjectSet("Day1_1", OBJPROP_CORNER, 0);
- ObjectSet("Day1_1", OBJPROP_XDISTANCE, 100);
- ObjectSet("Day1_1", OBJPROP_YDISTANCE, 2);
- ObjectCreate("Day1_0", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Day1_0","今天", 9, "Arial Bold", SkyBlue);
- ObjectSet("Day1_0", OBJPROP_CORNER, 0);
- ObjectSet("Day1_0", OBJPROP_XDISTANCE, 140);
- ObjectSet("Day1_0", OBJPROP_YDISTANCE, 2);
- ObjectCreate("Mon1", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Mon1","AUDCAD", 9, "Arial Bold", SkyBlue);
- ObjectSet("Mon1", OBJPROP_CORNER, 0);
- ObjectSet("Mon1", OBJPROP_XDISTANCE, 10);
- ObjectSet("Mon1", OBJPROP_YDISTANCE, 20);
- color Color1_2;
- if(iClose("AUDCAD", PERIOD_D1, 2) > iOpen("AUDCAD", PERIOD_D1, 2)) Color1_2 = LongColor;
- else if(iClose("AUDCAD", PERIOD_D1, 2) == iOpen("AUDCAD", PERIOD_D1, 2)) Color1_2 = SkyBlue;
- else if(iClose("AUDCAD", PERIOD_D1, 2) < iOpen("AUDCAD", PERIOD_D1, 2)) Color1_2 = ShortColor;
- int Price1_2 = (iHigh("AUDCAD", PERIOD_D1, 2) - iLow("AUDCAD", PERIOD_D1, 2))/Point2;
- ObjectCreate("Price1_2", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Price1_2",Price1_2, 9, "Arial Bold", Color1_2);
- ObjectSet("Price1_2", OBJPROP_CORNER, 0);
- ObjectSet("Price1_2", OBJPROP_XDISTANCE, 60);
- ObjectSet("Price1_2", OBJPROP_YDISTANCE, 20);
- color Color1_1;
- if(iClose("AUDCAD", PERIOD_D1, 1) > iOpen("AUDCAD", PERIOD_D1, 1)) Color1_1 = LongColor;
- else if(iClose("AUDCAD", PERIOD_D1, 1) == iOpen("AUDCAD", PERIOD_D1, 1)) Color1_1 = SkyBlue;
- else if(iClose("AUDCAD", PERIOD_D1, 1) < iOpen("AUDCAD", PERIOD_D1, 1)) Color1_1 = ShortColor;
- int Price1_1 = (iHigh("AUDCAD", PERIOD_D1, 1) - iLow("AUDCAD", PERIOD_D1, 1))/Point2;
- ObjectCreate("Price1_1", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Price1_1",Price1_1, 9, "Arial Bold", Color1_1);
- ObjectSet("Price1_1", OBJPROP_CORNER, 0);
- ObjectSet("Price1_1", OBJPROP_XDISTANCE, 100);
- ObjectSet("Price1_1", OBJPROP_YDISTANCE, 20);
- color Color1_0;
- if(iClose("AUDCAD", PERIOD_D1, 0) > iOpen("AUDCAD", PERIOD_D1, 0)) Color1_0 = LongColor;
- else if(iClose("AUDCAD", PERIOD_D1, 0) == iOpen("AUDCAD", PERIOD_D1, 0)) Color1_0 = SkyBlue;
- else if(iClose("AUDCAD", PERIOD_D1, 0) < iOpen("AUDCAD", PERIOD_D1, 0)) Color1_0 = ShortColor;
- int Price1_0 = (iHigh("AUDCAD", PERIOD_D1, 0) - iLow("AUDCAD", PERIOD_D1, 0))/Point2;
- ObjectCreate("Price1_0", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Price1_0",Price1_0, 9, "Arial Bold", Color1_0);
- ObjectSet("Price1_0", OBJPROP_CORNER, 0);
- ObjectSet("Price1_0", OBJPROP_XDISTANCE, 140);
- ObjectSet("Price1_0", OBJPROP_YDISTANCE, 20);
- ObjectCreate("Mon2", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Mon2","AUDCHF", 9, "Arial Bold", SkyBlue);
- ObjectSet("Mon2", OBJPROP_CORNER, 0);
- ObjectSet("Mon2", OBJPROP_XDISTANCE, 10);
- ObjectSet("Mon2", OBJPROP_YDISTANCE, 38);
- color Color2_2;
- if(iClose("AUDCHF", PERIOD_D1, 2) > iOpen("AUDCHF", PERIOD_D1, 2)) Color2_2 = LongColor;
- else if(iClose("AUDCHF", PERIOD_D1, 2) == iOpen("AUDCHF", PERIOD_D1, 2)) Color2_2 = SkyBlue;
- else if(iClose("AUDCHF", PERIOD_D1, 2) < iOpen("AUDCHF", PERIOD_D1, 2)) Color2_2 = ShortColor;
- int Price2_2 = (iHigh("AUDCHF", PERIOD_D1, 2) - iLow("AUDCHF", PERIOD_D1, 2))/Point2;
- ObjectCreate("Price2_2", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Price2_2",Price2_2, 9, "Arial Bold", Color2_2);
- ObjectSet("Price2_2", OBJPROP_CORNER, 0);
- ObjectSet("Price2_2", OBJPROP_XDISTANCE, 60);
- ObjectSet("Price2_2", OBJPROP_YDISTANCE, 38);
- color Color2_1;
- if(iClose("AUDCHF", PERIOD_D1, 1) > iOpen("AUDCHF", PERIOD_D1, 1)) Color2_1 = LongColor;
- else if(iClose("AUDCHF", PERIOD_D1, 1) == iOpen("AUDCHF", PERIOD_D1, 1)) Color2_1 = SkyBlue;
- else if(iClose("AUDCHF", PERIOD_D1, 1) < iOpen("AUDCHF", PERIOD_D1, 1)) Color2_1 = ShortColor;
- int Price2_1 = (iHigh("AUDCHF", PERIOD_D1, 1) - iLow("AUDCHF", PERIOD_D1, 1))/Point2;
- ObjectCreate("Price2_1", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Price2_1",Price2_1, 9, "Arial Bold", Color2_1);
- ObjectSet("Price2_1", OBJPROP_CORNER, 0);
- ObjectSet("Price2_1", OBJPROP_XDISTANCE, 100);
- ObjectSet("Price2_1", OBJPROP_YDISTANCE, 38);
- color Color2_0;
- if(iClose("AUDCHF", PERIOD_D1, 0) > iOpen("AUDCHF", PERIOD_D1, 0)) Color2_0 = LongColor;
- else if(iClose("AUDCHF", PERIOD_D1, 0) == iOpen("AUDCHF", PERIOD_D1, 0)) Color2_0 = SkyBlue;
- else if(iClose("AUDCHF", PERIOD_D1, 0) < iOpen("AUDCHF", PERIOD_D1, 0)) Color2_0 = ShortColor;
- int Price2_0 = (iHigh("AUDCHF", PERIOD_D1, 0) - iLow("AUDCHF", PERIOD_D1, 0))/Point2;
- ObjectCreate("Price2_0", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Price2_0",Price2_0, 9, "Arial Bold", Color2_0);
- ObjectSet("Price2_0", OBJPROP_CORNER, 0);
- ObjectSet("Price2_0", OBJPROP_XDISTANCE, 140);
- ObjectSet("Price2_0", OBJPROP_YDISTANCE, 38);
- ObjectCreate("Mon3", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Mon3","AUDJPY", 9, "Arial Bold", SkyBlue);
- ObjectSet("Mon3", OBJPROP_CORNER, 0);
- ObjectSet("Mon3", OBJPROP_XDISTANCE, 10);
- ObjectSet("Mon3", OBJPROP_YDISTANCE, 56);
- color Color3_2;
- if(iClose("AUDJPY", PERIOD_D1, 2) > iOpen("AUDJPY", PERIOD_D1, 2)) Color3_2 = LongColor;
- else if(iClose("AUDJPY", PERIOD_D1, 2) == iOpen("AUDJPY", PERIOD_D1, 2)) Color3_2 = SkyBlue;
- else if(iClose("AUDJPY", PERIOD_D1, 2) < iOpen("AUDJPY", PERIOD_D1, 2)) Color3_2 = ShortColor;
- int Price3_2 = (iHigh("AUDJPY", PERIOD_D1, 2) - iLow("AUDJPY", PERIOD_D1, 2))/Point1;
- ObjectCreate("Price3_2", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Price3_2",Price3_2, 9, "Arial Bold", Color3_2);
- ObjectSet("Price3_2", OBJPROP_CORNER, 0);
- ObjectSet("Price3_2", OBJPROP_XDISTANCE, 60);
- ObjectSet("Price3_2", OBJPROP_YDISTANCE, 56);
- color Color3_1;
- if(iClose("AUDJPY", PERIOD_D1, 1) > iOpen("AUDJPY", PERIOD_D1, 1)) Color3_1 = LongColor;
- else if(iClose("AUDJPY", PERIOD_D1, 1) == iOpen("AUDJPY", PERIOD_D1, 1)) Color3_1 = SkyBlue;
- else if(iClose("AUDJPY", PERIOD_D1, 1) < iOpen("AUDJPY", PERIOD_D1, 1)) Color3_1 = ShortColor;
- int Price3_1 = (iHigh("AUDJPY", PERIOD_D1, 1) - iLow("AUDJPY", PERIOD_D1, 1))/Point1;
- ObjectCreate("Price3_1", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Price3_1",Price3_1, 9, "Arial Bold", Color3_1);
- ObjectSet("Price3_1", OBJPROP_CORNER, 0);
- ObjectSet("Price3_1", OBJPROP_XDISTANCE, 100);
- ObjectSet("Price3_1", OBJPROP_YDISTANCE, 56);
- color Color3_0;
- if(iClose("AUDJPY", PERIOD_D1, 0) > iOpen("AUDJPY", PERIOD_D1, 0)) Color3_0 = LongColor;
- else if(iClose("AUDJPY", PERIOD_D1, 0) == iOpen("AUDJPY", PERIOD_D1, 0)) Color3_0 = SkyBlue;
- else if(iClose("AUDJPY", PERIOD_D1, 0) < iOpen("AUDJPY", PERIOD_D1, 0)) Color3_0 = ShortColor;
- int Price3_0 = (iHigh("AUDJPY", PERIOD_D1, 0) - iLow("AUDJPY", PERIOD_D1, 0))/Point1;
- ObjectCreate("Price3_0", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Price3_0",Price3_0, 9, "Arial Bold", Color3_0);
- ObjectSet("Price3_0", OBJPROP_CORNER, 0);
- ObjectSet("Price3_0", OBJPROP_XDISTANCE, 140);
- ObjectSet("Price3_0", OBJPROP_YDISTANCE, 56);
- ObjectCreate("Mon4", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Mon4","AUDNZD", 9, "Arial Bold", SkyBlue);
- ObjectSet("Mon4", OBJPROP_CORNER, 0);
- ObjectSet("Mon4", OBJPROP_XDISTANCE, 10);
- ObjectSet("Mon4", OBJPROP_YDISTANCE, 74);
- color Color4_2;
- if(iClose("AUDNZD", PERIOD_D1, 2) > iOpen("AUDNZD", PERIOD_D1, 2)) Color4_2 = LongColor;
- else if(iClose("AUDNZD", PERIOD_D1, 2) == iOpen("AUDNZD", PERIOD_D1, 2)) Color4_2 = SkyBlue;
- else if(iClose("AUDNZD", PERIOD_D1, 2) < iOpen("AUDNZD", PERIOD_D1, 2)) Color4_2 = ShortColor;
- int Price4_2 = (iHigh("AUDNZD", PERIOD_D1, 2) - iLow("AUDNZD", PERIOD_D1, 2))/Point2;
- ObjectCreate("Price4_2", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Price4_2",Price4_2, 9, "Arial Bold", Color4_2);
- ObjectSet("Price4_2", OBJPROP_CORNER, 0);
- ObjectSet("Price4_2", OBJPROP_XDISTANCE, 60);
- ObjectSet("Price4_2", OBJPROP_YDISTANCE, 74);
- color Color4_1;
- if(iClose("AUDNZD", PERIOD_D1, 1) > iOpen("AUDNZD", PERIOD_D1, 1)) Color4_1 = LongColor;
- else if(iClose("AUDNZD", PERIOD_D1, 1) == iOpen("AUDNZD", PERIOD_D1, 1)) Color4_1 = SkyBlue;
- else if(iClose("AUDNZD", PERIOD_D1, 1) < iOpen("AUDNZD", PERIOD_D1, 1)) Color4_1 = ShortColor;
- int Price4_1 = (iHigh("AUDNZD", PERIOD_D1, 1) - iLow("AUDNZD", PERIOD_D1, 1))/Point2;
- ObjectCreate("Price4_1", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Price4_1",Price4_1, 9, "Arial Bold", Color4_1);
- ObjectSet("Price4_1", OBJPROP_CORNER, 0);
- ObjectSet("Price4_1", OBJPROP_XDISTANCE, 100);
- ObjectSet("Price4_1", OBJPROP_YDISTANCE, 74);
- color Color4_0;
- if(iClose("AUDNZD", PERIOD_D1, 0) > iOpen("AUDNZD", PERIOD_D1, 0)) Color4_0 = LongColor;
- else if(iClose("AUDNZD", PERIOD_D1, 0) == iOpen("AUDNZD", PERIOD_D1, 0)) Color4_0 = SkyBlue;
- else if(iClose("AUDNZD", PERIOD_D1, 0) < iOpen("AUDNZD", PERIOD_D1, 0)) Color4_0 = ShortColor;
- int Price4_0 = (iHigh("AUDNZD", PERIOD_D1, 0) - iLow("AUDNZD", PERIOD_D1, 0))/Point2;
- ObjectCreate("Price4_0", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Price4_0",Price4_0, 9, "Arial Bold", Color4_0);
- ObjectSet("Price4_0", OBJPROP_CORNER, 0);
- ObjectSet("Price4_0", OBJPROP_XDISTANCE, 140);
- ObjectSet("Price4_0", OBJPROP_YDISTANCE, 74);
- ObjectCreate("Mon5", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Mon5","AUDUSD", 9, "Arial Bold", SkyBlue);
- ObjectSet("Mon5", OBJPROP_CORNER, 0);
- ObjectSet("Mon5", OBJPROP_XDISTANCE, 10);
- ObjectSet("Mon5", OBJPROP_YDISTANCE, 92);
- color Color5_2;
- if(iClose("AUDUSD", PERIOD_D1, 2) > iOpen("AUDUSD", PERIOD_D1, 2)) Color5_2 = LongColor;
- else if(iClose("AUDUSD", PERIOD_D1, 2) == iOpen("AUDUSD", PERIOD_D1, 2)) Color5_2 = SkyBlue;
- else if(iClose("AUDUSD", PERIOD_D1, 2) < iOpen("AUDUSD", PERIOD_D1, 2)) Color5_2 = ShortColor;
- int Price5_2 = (iHigh("AUDUSD", PERIOD_D1, 2) - iLow("AUDUSD", PERIOD_D1, 2))/Point2;
- ObjectCreate("Price5_2", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Price5_2",Price5_2, 9, "Arial Bold", Color5_2);
- ObjectSet("Price5_2", OBJPROP_CORNER, 0);
- ObjectSet("Price5_2", OBJPROP_XDISTANCE, 60);
- ObjectSet("Price5_2", OBJPROP_YDISTANCE, 92);
- color Color5_1;
- if(iClose("AUDUSD", PERIOD_D1, 1) > iOpen("AUDUSD", PERIOD_D1, 1)) Color5_1 = LongColor;
- else if(iClose("AUDUSD", PERIOD_D1, 1) == iOpen("AUDUSD", PERIOD_D1, 1)) Color5_1 = SkyBlue;
- else if(iClose("AUDUSD", PERIOD_D1, 1) < iOpen("AUDUSD", PERIOD_D1, 1)) Color5_1 = ShortColor;
- int Price5_1 = (iHigh("AUDUSD", PERIOD_D1, 1) - iLow("AUDUSD", PERIOD_D1, 1))/Point2;
- ObjectCreate("Price5_1", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Price5_1",Price5_1, 9, "Arial Bold", Color5_1);
- ObjectSet("Price5_1", OBJPROP_CORNER, 0);
- ObjectSet("Price5_1", OBJPROP_XDISTANCE, 100);
- ObjectSet("Price5_1", OBJPROP_YDISTANCE, 92);
- color Color5_0;
- if(iClose("AUDUSD", PERIOD_D1, 0) > iOpen("AUDUSD", PERIOD_D1, 0)) Color5_0 = LongColor;
- else if(iClose("AUDUSD", PERIOD_D1, 0) == iOpen("AUDUSD", PERIOD_D1, 0)) Color5_0 = SkyBlue;
- else if(iClose("AUDUSD", PERIOD_D1, 0) < iOpen("AUDUSD", PERIOD_D1, 0)) Color5_0 = ShortColor;
- int Price5_0 = (iHigh("AUDUSD", PERIOD_D1, 0) - iLow("AUDUSD", PERIOD_D1, 0))/Point2;
- ObjectCreate("Price5_0", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Price5_0",Price5_0, 9, "Arial Bold", Color5_0);
- ObjectSet("Price5_0", OBJPROP_CORNER, 0);
- ObjectSet("Price5_0", OBJPROP_XDISTANCE, 140);
- ObjectSet("Price5_0", OBJPROP_YDISTANCE, 92);
- ObjectCreate("Mon6", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Mon6","CADCHF", 9, "Arial Bold", SkyBlue);
- ObjectSet("Mon6", OBJPROP_CORNER, 0);
- ObjectSet("Mon6", OBJPROP_XDISTANCE, 10);
- ObjectSet("Mon6", OBJPROP_YDISTANCE, 110);
- ObjectCreate("Title2", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Title2","█████",9, "Arial Bold", SkyBlue);
- ObjectSet("Title2", OBJPROP_CORNER, 0);
- ObjectSet("Title2", OBJPROP_XDISTANCE, 180);
- ObjectSet("Title2", OBJPROP_YDISTANCE, 2);
- ObjectCreate("Day2_2", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Day2_2","前天", 9, "Arial Bold", SkyBlue);
- ObjectSet("Day2_2", OBJPROP_CORNER, 0);
- ObjectSet("Day2_2", OBJPROP_XDISTANCE, 230);
- ObjectSet("Day2_2", OBJPROP_YDISTANCE, 2);
- ObjectCreate("Day2_1", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Day2_1","昨天", 9, "Arial Bold", SkyBlue);
- ObjectSet("Day2_1", OBJPROP_CORNER, 0);
- ObjectSet("Day2_1", OBJPROP_XDISTANCE, 270);
- ObjectSet("Day2_1", OBJPROP_YDISTANCE, 2);
- ObjectCreate("Day2_0", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Day2_0","今天", 9, "Arial Bold", SkyBlue);
- ObjectSet("Day2_0", OBJPROP_CORNER, 0);
- ObjectSet("Day2_0", OBJPROP_XDISTANCE, 310);
- ObjectSet("Day2_0", OBJPROP_YDISTANCE, 2);
- ObjectCreate("Mon6", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Mon6","CADCHF", 9, "Arial Bold", SkyBlue);
- ObjectSet("Mon6", OBJPROP_CORNER, 0);
- ObjectSet("Mon6", OBJPROP_XDISTANCE, 180);
- ObjectSet("Mon6", OBJPROP_YDISTANCE, 20);
- color Color6_2;
- if(iClose("CADCHF", PERIOD_D1, 2) > iOpen("CADCHF", PERIOD_D1, 2)) Color6_2 = LongColor;
- else if(iClose("CADCHF", PERIOD_D1, 2) == iOpen("CADCHF", PERIOD_D1, 2)) Color6_2 = SkyBlue;
- else if(iClose("CADCHF", PERIOD_D1, 2) < iOpen("CADCHF", PERIOD_D1, 2)) Color6_2 = ShortColor;
- int Price6_2 = (iHigh("CADCHF", PERIOD_D1, 2) - iLow("CADCHF", PERIOD_D1, 2))/Point2;
- ObjectCreate("Price6_2", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Price6_2",Price6_2, 9, "Arial Bold", Color6_2);
- ObjectSet("Price6_2", OBJPROP_CORNER, 0);
- ObjectSet("Price6_2", OBJPROP_XDISTANCE, 230);
- ObjectSet("Price6_2", OBJPROP_YDISTANCE, 20);
- color Color6_1;
- if(iClose("CADCHF", PERIOD_D1, 1) > iOpen("CADCHF", PERIOD_D1, 1)) Color6_1 = LongColor;
- else if(iClose("CADCHF", PERIOD_D1, 1) == iOpen("CADCHF", PERIOD_D1, 1)) Color6_1 = SkyBlue;
- else if(iClose("CADCHF", PERIOD_D1, 1) < iOpen("CADCHF", PERIOD_D1, 1)) Color6_1 = ShortColor;
- int Price6_1 = (iHigh("CADCHF", PERIOD_D1, 1) - iLow("CADCHF", PERIOD_D1, 1))/Point2;
- ObjectCreate("Price6_1", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Price6_1",Price6_1, 9, "Arial Bold", Color6_1);
- ObjectSet("Price6_1", OBJPROP_CORNER, 0);
- ObjectSet("Price6_1", OBJPROP_XDISTANCE, 270);
- ObjectSet("Price6_1", OBJPROP_YDISTANCE, 20);
- color Color6_0;
- if(iClose("CADCHF", PERIOD_D1, 0) > iOpen("CADCHF", PERIOD_D1, 0)) Color6_0 = LongColor;
- else if(iClose("CADCHF", PERIOD_D1, 0) == iOpen("CADCHF", PERIOD_D1, 0)) Color6_0 = SkyBlue;
- else if(iClose("CADCHF", PERIOD_D1, 0) < iOpen("CADCHF", PERIOD_D1, 0)) Color6_0 = ShortColor;
- int Price6_0 = (iHigh("CADCHF", PERIOD_D1, 0) - iLow("CADCHF", PERIOD_D1, 0))/Point2;
- ObjectCreate("Price6_0", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Price6_0",Price6_0, 9, "Arial Bold", Color6_0);
- ObjectSet("Price6_0", OBJPROP_CORNER, 0);
- ObjectSet("Price6_0", OBJPROP_XDISTANCE, 310);
- ObjectSet("Price6_0", OBJPROP_YDISTANCE, 20);
- ObjectCreate("Mon7", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Mon7","CADJPY", 9, "Arial Bold", SkyBlue);
- ObjectSet("Mon7", OBJPROP_CORNER, 0);
- ObjectSet("Mon7", OBJPROP_XDISTANCE, 180);
- ObjectSet("Mon7", OBJPROP_YDISTANCE, 38);
- color Color7_2;
- if(iClose("CADJPY", PERIOD_D1, 2) > iOpen("CADJPY", PERIOD_D1, 2)) Color7_2 = LongColor;
- else if(iClose("CADJPY", PERIOD_D1, 2) == iOpen("CADJPY", PERIOD_D1, 2)) Color7_2 = SkyBlue;
- else if(iClose("CADJPY", PERIOD_D1, 2) < iOpen("CADJPY", PERIOD_D1, 2)) Color7_2 = ShortColor;
- int Price7_2 = (iHigh("CADJPY", PERIOD_D1, 2) - iLow("CADJPY", PERIOD_D1, 2))/Point1;
- ObjectCreate("Price7_2", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Price7_2",Price7_2, 9, "Arial Bold", Color7_2);
- ObjectSet("Price7_2", OBJPROP_CORNER, 0);
- ObjectSet("Price7_2", OBJPROP_XDISTANCE, 230);
- ObjectSet("Price7_2", OBJPROP_YDISTANCE, 38);
- color Color7_1;
- if(iClose("CADJPY", PERIOD_D1, 1) > iOpen("CADJPY", PERIOD_D1, 1)) Color7_1 = LongColor;
- else if(iClose("CADJPY", PERIOD_D1, 1) == iOpen("CADJPY", PERIOD_D1, 1)) Color7_1 = SkyBlue;
- else if(iClose("CADJPY", PERIOD_D1, 1) < iOpen("CADJPY", PERIOD_D1, 1)) Color7_1 = ShortColor;
- int Price7_1 = (iHigh("CADJPY", PERIOD_D1, 1) - iLow("CADJPY", PERIOD_D1, 1))/Point1;
- ObjectCreate("Price7_1", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Price7_1",Price7_1, 9, "Arial Bold", Color7_1);
- ObjectSet("Price7_1", OBJPROP_CORNER, 0);
- ObjectSet("Price7_1", OBJPROP_XDISTANCE, 270);
- ObjectSet("Price7_1", OBJPROP_YDISTANCE, 38);
- color Color7_0;
- if(iClose("CADJPY", PERIOD_D1, 0) > iOpen("CADJPY", PERIOD_D1, 0)) Color7_0 = LongColor;
- else if(iClose("CADJPY", PERIOD_D1, 0) == iOpen("CADJPY", PERIOD_D1, 0)) Color7_0 = SkyBlue;
- else if(iClose("CADJPY", PERIOD_D1, 0) < iOpen("CADJPY", PERIOD_D1, 0)) Color7_0 = ShortColor;
- int Price7_0 = (iHigh("CADJPY", PERIOD_D1, 0) - iLow("CADJPY", PERIOD_D1, 0))/Point1;
- ObjectCreate("Price7_0", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Price7_0",Price7_0, 9, "Arial Bold", Color7_0);
- ObjectSet("Price7_0", OBJPROP_CORNER, 0);
- ObjectSet("Price7_0", OBJPROP_XDISTANCE, 310);
- ObjectSet("Price7_0", OBJPROP_YDISTANCE, 38);
- ObjectCreate("Mon8", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Mon8","CHFJPY", 9, "Arial Bold", SkyBlue);
- ObjectSet("Mon8", OBJPROP_CORNER, 0);
- ObjectSet("Mon8", OBJPROP_XDISTANCE, 180);
- ObjectSet("Mon8", OBJPROP_YDISTANCE, 56);
- color Color8_2;
- if(iClose("CHFJPY", PERIOD_D1, 2) > iOpen("CHFJPY", PERIOD_D1, 2)) Color8_2 = LongColor;
- else if(iClose("CHFJPY", PERIOD_D1, 2) == iOpen("CHFJPY", PERIOD_D1, 2)) Color8_2 = SkyBlue;
- else if(iClose("CHFJPY", PERIOD_D1, 2) < iOpen("CHFJPY", PERIOD_D1, 2)) Color8_2 = ShortColor;
- int Price8_2 = (iHigh("CHFJPY", PERIOD_D1, 2) - iLow("CHFJPY", PERIOD_D1, 2))/Point1;
- ObjectCreate("Price8_2", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Price8_2",Price8_2, 9, "Arial Bold", Color8_2);
- ObjectSet("Price8_2", OBJPROP_CORNER, 0);
- ObjectSet("Price8_2", OBJPROP_XDISTANCE, 230);
- ObjectSet("Price8_2", OBJPROP_YDISTANCE, 56);
- color Color8_1;
- if(iClose("CHFJPY", PERIOD_D1, 1) > iOpen("CHFJPY", PERIOD_D1, 1)) Color8_1 = LongColor;
- else if(iClose("CHFJPY", PERIOD_D1, 1) == iOpen("CHFJPY", PERIOD_D1, 1)) Color8_1 = SkyBlue;
- else if(iClose("CHFJPY", PERIOD_D1, 1) < iOpen("CHFJPY", PERIOD_D1, 1)) Color8_1 = ShortColor;
- int Price8_1 = (iHigh("CHFJPY", PERIOD_D1, 1) - iLow("CHFJPY", PERIOD_D1, 1))/Point1;
- ObjectCreate("Price8_1", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Price8_1",Price8_1, 9, "Arial Bold", Color8_1);
- ObjectSet("Price8_1", OBJPROP_CORNER, 0);
- ObjectSet("Price8_1", OBJPROP_XDISTANCE, 270);
- ObjectSet("Price8_1", OBJPROP_YDISTANCE, 56);
- color Color8_0;
- if(iClose("CHFJPY", PERIOD_D1, 0) > iOpen("CHFJPY", PERIOD_D1, 0)) Color8_0 = LongColor;
- else if(iClose("CHFJPY", PERIOD_D1, 0) == iOpen("CHFJPY", PERIOD_D1, 0)) Color8_0 = SkyBlue;
- else if(iClose("CHFJPY", PERIOD_D1, 0) < iOpen("CHFJPY", PERIOD_D1, 0)) Color8_0 = ShortColor;
- int Price8_0 = (iHigh("CHFJPY", PERIOD_D1, 0) - iLow("CHFJPY", PERIOD_D1, 0))/Point1;
- ObjectCreate("Price8_0", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Price8_0",Price8_0, 9, "Arial Bold", Color8_0);
- ObjectSet("Price8_0", OBJPROP_CORNER, 0);
- ObjectSet("Price8_0", OBJPROP_XDISTANCE, 310);
- ObjectSet("Price8_0", OBJPROP_YDISTANCE, 56);
- ObjectCreate("Mon9", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Mon9","EURAUD", 9, "Arial Bold", SkyBlue);
- ObjectSet("Mon9", OBJPROP_CORNER, 0);
- ObjectSet("Mon9", OBJPROP_XDISTANCE, 180);
- ObjectSet("Mon9", OBJPROP_YDISTANCE, 74);
- color Color9_2;
- if(iClose("EURAUD", PERIOD_D1, 2) > iOpen("EURAUD", PERIOD_D1, 2)) Color9_2 = LongColor;
- else if(iClose("EURAUD", PERIOD_D1, 2) == iOpen("EURAUD", PERIOD_D1, 2)) Color9_2 = SkyBlue;
- else if(iClose("EURAUD", PERIOD_D1, 2) < iOpen("EURAUD", PERIOD_D1, 2)) Color9_2 = ShortColor;
- int Price9_2 = (iHigh("EURAUD", PERIOD_D1, 2) - iLow("EURAUD", PERIOD_D1, 2))/Point2;
- ObjectCreate("Price9_2", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Price9_2",Price9_2, 9, "Arial Bold", Color9_2);
- ObjectSet("Price9_2", OBJPROP_CORNER, 0);
- ObjectSet("Price9_2", OBJPROP_XDISTANCE, 230);
- ObjectSet("Price9_2", OBJPROP_YDISTANCE, 74);
- color Color9_1;
- if(iClose("EURAUD", PERIOD_D1, 1) > iOpen("EURAUD", PERIOD_D1, 1)) Color9_1 = LongColor;
- else if(iClose("EURAUD", PERIOD_D1, 1) == iOpen("EURAUD", PERIOD_D1, 1)) Color9_1 = SkyBlue;
- else if(iClose("EURAUD", PERIOD_D1, 1) < iOpen("EURAUD", PERIOD_D1, 1)) Color9_1 = ShortColor;
- int Price9_1 = (iHigh("EURAUD", PERIOD_D1, 1) - iLow("EURAUD", PERIOD_D1, 1))/Point2;
- ObjectCreate("Price9_1", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Price9_1",Price9_1, 9, "Arial Bold", Color9_1);
- ObjectSet("Price9_1", OBJPROP_CORNER, 0);
- ObjectSet("Price9_1", OBJPROP_XDISTANCE, 270);
- ObjectSet("Price9_1", OBJPROP_YDISTANCE, 74);
- color Color9_0;
- if(iClose("EURAUD", PERIOD_D1, 0) > iOpen("EURAUD", PERIOD_D1, 0)) Color9_0 = LongColor;
- else if(iClose("EURAUD", PERIOD_D1, 0) == iOpen("EURAUD", PERIOD_D1, 0)) Color9_0 = SkyBlue;
- else if(iClose("EURAUD", PERIOD_D1, 0) < iOpen("EURAUD", PERIOD_D1, 0)) Color9_0 = ShortColor;
- int Price9_0 = (iHigh("EURAUD", PERIOD_D1, 0) - iLow("EURAUD", PERIOD_D1, 0))/Point2;
- ObjectCreate("Price9_0", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Price9_0",Price9_0, 9, "Arial Bold", Color9_0);
- ObjectSet("Price9_0", OBJPROP_CORNER, 0);
- ObjectSet("Price9_0", OBJPROP_XDISTANCE, 310);
- ObjectSet("Price9_0", OBJPROP_YDISTANCE, 74);
- ObjectCreate("Mon10", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Mon10","EURCAD", 9, "Arial Bold", SkyBlue);
- ObjectSet("Mon10", OBJPROP_CORNER, 0);
- ObjectSet("Mon10", OBJPROP_XDISTANCE, 180);
- ObjectSet("Mon10", OBJPROP_YDISTANCE, 92);
- color Color10_2;
- if(iClose("EURCAD", PERIOD_D1, 2) > iOpen("EURCAD", PERIOD_D1, 2)) Color10_2 = LongColor;
- else if(iClose("EURCAD", PERIOD_D1, 2) == iOpen("EURCAD", PERIOD_D1, 2)) Color10_2 = SkyBlue;
- else if(iClose("EURCAD", PERIOD_D1, 2) < iOpen("EURCAD", PERIOD_D1, 2)) Color10_2 = ShortColor;
- int Price10_2 = (iHigh("EURCAD", PERIOD_D1, 2) - iLow("EURCAD", PERIOD_D1, 2))/Point2;
- ObjectCreate("Price10_2", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Price10_2",Price10_2, 9, "Arial Bold", Color10_2);
- ObjectSet("Price10_2", OBJPROP_CORNER, 0);
- ObjectSet("Price10_2", OBJPROP_XDISTANCE, 230);
- ObjectSet("Price10_2", OBJPROP_YDISTANCE, 92);
- color Color10_1;
- if(iClose("EURCAD", PERIOD_D1, 1) > iOpen("EURCAD", PERIOD_D1, 1)) Color10_1 = LongColor;
- else if(iClose("EURCAD", PERIOD_D1, 1) == iOpen("EURCAD", PERIOD_D1, 1)) Color10_1 = SkyBlue;
- else if(iClose("EURCAD", PERIOD_D1, 1) < iOpen("EURCAD", PERIOD_D1, 1)) Color10_1 = ShortColor;
- int Price10_1 = (iHigh("EURCAD", PERIOD_D1, 1) - iLow("EURCAD", PERIOD_D1, 1))/Point2;
- ObjectCreate("Price10_1", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Price10_1",Price10_1, 9, "Arial Bold", Color10_1);
- ObjectSet("Price10_1", OBJPROP_CORNER, 0);
- ObjectSet("Price10_1", OBJPROP_XDISTANCE, 270);
- ObjectSet("Price10_1", OBJPROP_YDISTANCE, 92);
- color Color10_0;
- if(iClose("EURCAD", PERIOD_D1, 0) > iOpen("EURCAD", PERIOD_D1, 0)) Color10_0 = LongColor;
- else if(iClose("EURCAD", PERIOD_D1, 0) == iOpen("EURCAD", PERIOD_D1, 0)) Color10_0 = SkyBlue;
- else if(iClose("EURCAD", PERIOD_D1, 0) < iOpen("EURCAD", PERIOD_D1, 0)) Color10_0 = ShortColor;
- int Price10_0 = (iHigh("EURCAD", PERIOD_D1, 0) - iLow("EURCAD", PERIOD_D1, 0))/Point2;
- ObjectCreate("Price10_0", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Price10_0",Price10_0, 9, "Arial Bold", Color10_0);
- ObjectSet("Price10_0", OBJPROP_CORNER, 0);
- ObjectSet("Price10_0", OBJPROP_XDISTANCE, 310);
- ObjectSet("Price10_0", OBJPROP_YDISTANCE, 92);
- ObjectCreate("Title3", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Title3","█████",9, "Arial Bold", SkyBlue);
- ObjectSet("Title3", OBJPROP_CORNER, 0);
- ObjectSet("Title3", OBJPROP_XDISTANCE, 350);
- ObjectSet("Title3", OBJPROP_YDISTANCE, 2);
- ObjectCreate("Day3_2", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Day3_2","前天", 9, "Arial Bold", SkyBlue);
- ObjectSet("Day3_2", OBJPROP_CORNER, 0);
- ObjectSet("Day3_2", OBJPROP_XDISTANCE, 400);
- ObjectSet("Day3_2", OBJPROP_YDISTANCE, 2);
- ObjectCreate("Day3_1", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Day3_1","昨天", 9, "Arial Bold", SkyBlue);
- ObjectSet("Day3_1", OBJPROP_CORNER, 0);
- ObjectSet("Day3_1", OBJPROP_XDISTANCE, 440);
- ObjectSet("Day3_1", OBJPROP_YDISTANCE, 2);
- ObjectCreate("Day3_0", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Day3_0","今天", 9, "Arial Bold", SkyBlue);
- ObjectSet("Day3_0", OBJPROP_CORNER, 0);
- ObjectSet("Day3_0", OBJPROP_XDISTANCE, 480);
- ObjectSet("Day3_0", OBJPROP_YDISTANCE, 2);
- ObjectCreate("Mon11", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Mon11","EURCHF", 9, "Arial Bold", SkyBlue);
- ObjectSet("Mon11", OBJPROP_CORNER, 0);
- ObjectSet("Mon11", OBJPROP_XDISTANCE, 350);
- ObjectSet("Mon11", OBJPROP_YDISTANCE, 20);
- color Color11_2;
- if(iClose("EURCHF", PERIOD_D1, 2) > iOpen("EURCHF", PERIOD_D1, 2)) Color11_2 = LongColor;
- else if(iClose("EURCHF", PERIOD_D1, 2) == iOpen("EURCHF", PERIOD_D1, 2)) Color11_2 = SkyBlue;
- else if(iClose("EURCHF", PERIOD_D1, 2) < iOpen("EURCHF", PERIOD_D1, 2)) Color11_2 = ShortColor;
- int Price11_2 = (iHigh("EURCHF", PERIOD_D1, 2) - iLow("EURCHF", PERIOD_D1, 2))/Point2;
- ObjectCreate("Price11_2", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Price11_2",Price11_2, 9, "Arial Bold", Color11_2);
- ObjectSet("Price11_2", OBJPROP_CORNER, 0);
- ObjectSet("Price11_2", OBJPROP_XDISTANCE, 400);
- ObjectSet("Price11_2", OBJPROP_YDISTANCE, 20);
- color Color11_1;
- if(iClose("EURCHF", PERIOD_D1, 1) > iOpen("EURCHF", PERIOD_D1, 1)) Color11_1 = LongColor;
- else if(iClose("EURCHF", PERIOD_D1, 1) == iOpen("EURCHF", PERIOD_D1, 1)) Color11_1 = SkyBlue;
- else if(iClose("EURCHF", PERIOD_D1, 1) < iOpen("EURCHF", PERIOD_D1, 1)) Color11_1 = ShortColor;
- int Price11_1 = (iHigh("EURCHF", PERIOD_D1, 1) - iLow("EURCHF", PERIOD_D1, 1))/Point2;
- ObjectCreate("Price11_1", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Price11_1",Price11_1, 9, "Arial Bold", Color11_1);
- ObjectSet("Price11_1", OBJPROP_CORNER, 0);
- ObjectSet("Price11_1", OBJPROP_XDISTANCE, 440);
- ObjectSet("Price11_1", OBJPROP_YDISTANCE, 20);
- color Color11_0;
- if(iClose("EURCHF", PERIOD_D1, 0) > iOpen("EURCHF", PERIOD_D1, 0)) Color11_0 = LongColor;
- else if(iClose("EURCHF", PERIOD_D1, 0) == iOpen("EURCHF", PERIOD_D1, 0)) Color11_0 = SkyBlue;
- else if(iClose("EURCHF", PERIOD_D1, 0) < iOpen("EURCHF", PERIOD_D1, 0)) Color11_0 = ShortColor;
- int Price11_0 = (iHigh("EURCHF", PERIOD_D1, 0) - iLow("EURCHF", PERIOD_D1, 0))/Point2;
- ObjectCreate("Price11_0", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Price11_0",Price11_0, 9, "Arial Bold", Color11_0);
- ObjectSet("Price11_0", OBJPROP_CORNER, 0);
- ObjectSet("Price11_0", OBJPROP_XDISTANCE, 480);
- ObjectSet("Price11_0", OBJPROP_YDISTANCE, 20);
- ObjectCreate("Mon12", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Mon12","EURGBP", 9, "Arial Bold", SkyBlue);
- ObjectSet("Mon12", OBJPROP_CORNER, 0);
- ObjectSet("Mon12", OBJPROP_XDISTANCE, 350);
- ObjectSet("Mon12", OBJPROP_YDISTANCE, 38);
- color Color12_2;
- if(iClose("EURGBP", PERIOD_D1, 2) > iOpen("EURGBP", PERIOD_D1, 2)) Color12_2 = LongColor;
- else if(iClose("EURGBP", PERIOD_D1, 2) == iOpen("EURGBP", PERIOD_D1, 2)) Color12_2 = SkyBlue;
- else if(iClose("EURGBP", PERIOD_D1, 2) < iOpen("EURGBP", PERIOD_D1, 2)) Color12_2 = ShortColor;
- int Price12_2 = (iHigh("EURGBP", PERIOD_D1, 2) - iLow("EURGBP", PERIOD_D1, 2))/Point2;
- ObjectCreate("Price12_2", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Price12_2",Price12_2, 9, "Arial Bold", Color12_2);
- ObjectSet("Price12_2", OBJPROP_CORNER, 0);
- ObjectSet("Price12_2", OBJPROP_XDISTANCE, 400);
- ObjectSet("Price12_2", OBJPROP_YDISTANCE, 38);
- color Color12_1;
- if(iClose("EURGBP", PERIOD_D1, 1) > iOpen("EURGBP", PERIOD_D1, 1)) Color12_1 = LongColor;
- else if(iClose("EURGBP", PERIOD_D1, 1) == iOpen("EURGBP", PERIOD_D1, 1)) Color12_1 = SkyBlue;
- else if(iClose("EURGBP", PERIOD_D1, 1) < iOpen("EURGBP", PERIOD_D1, 1)) Color12_1 = ShortColor;
- int Price12_1 = (iHigh("EURGBP", PERIOD_D1, 1) - iLow("EURGBP", PERIOD_D1, 1))/Point2;
- ObjectCreate("Price12_1", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Price12_1",Price12_1, 9, "Arial Bold", Color12_1);
- ObjectSet("Price12_1", OBJPROP_CORNER, 0);
- ObjectSet("Price12_1", OBJPROP_XDISTANCE, 440);
- ObjectSet("Price12_1", OBJPROP_YDISTANCE, 38);
- color Color12_0;
- if(iClose("EURGBP", PERIOD_D1, 0) > iOpen("EURGBP", PERIOD_D1, 0)) Color12_0 = LongColor;
- else if(iClose("EURGBP", PERIOD_D1, 0) == iOpen("EURGBP", PERIOD_D1, 0)) Color12_0 = SkyBlue;
- else if(iClose("EURGBP", PERIOD_D1, 0) < iOpen("EURGBP", PERIOD_D1, 0)) Color12_0 = ShortColor;
- int Price12_0 = (iHigh("EURGBP", PERIOD_D1, 0) - iLow("EURGBP", PERIOD_D1, 0))/Point2;
- ObjectCreate("Price12_0", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Price12_0",Price12_0, 9, "Arial Bold", Color12_0);
- ObjectSet("Price12_0", OBJPROP_CORNER, 0);
- ObjectSet("Price12_0", OBJPROP_XDISTANCE, 480);
- ObjectSet("Price12_0", OBJPROP_YDISTANCE, 38);
- ObjectCreate("Mon13", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Mon13","EURJPY", 9, "Arial Bold", SkyBlue);
- ObjectSet("Mon13", OBJPROP_CORNER, 0);
- ObjectSet("Mon13", OBJPROP_XDISTANCE, 350);
- ObjectSet("Mon13", OBJPROP_YDISTANCE, 56);
- color Color13_2;
- if(iClose("EURJPY", PERIOD_D1, 2) > iOpen("EURJPY", PERIOD_D1, 2)) Color13_2 = LongColor;
- else if(iClose("EURJPY", PERIOD_D1, 2) == iOpen("EURJPY", PERIOD_D1, 2)) Color13_2 = SkyBlue;
- else if(iClose("EURJPY", PERIOD_D1, 2) < iOpen("EURJPY", PERIOD_D1, 2)) Color13_2 = ShortColor;
- int Price13_2 = (iHigh("EURJPY", PERIOD_D1, 2) - iLow("EURJPY", PERIOD_D1, 2))/Point1;
- ObjectCreate("Price13_2", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Price13_2",Price13_2, 9, "Arial Bold", Color13_2);
- ObjectSet("Price13_2", OBJPROP_CORNER, 0);
- ObjectSet("Price13_2", OBJPROP_XDISTANCE, 400);
- ObjectSet("Price13_2", OBJPROP_YDISTANCE, 56);
- color Color13_1;
- if(iClose("EURJPY", PERIOD_D1, 1) > iOpen("EURJPY", PERIOD_D1, 1)) Color13_1 = LongColor;
- else if(iClose("EURJPY", PERIOD_D1, 1) == iOpen("EURJPY", PERIOD_D1, 1)) Color13_1 = SkyBlue;
- else if(iClose("EURJPY", PERIOD_D1, 1) < iOpen("EURJPY", PERIOD_D1, 1)) Color13_1 = ShortColor;
- int Price13_1 = (iHigh("EURJPY", PERIOD_D1, 1) - iLow("EURJPY", PERIOD_D1, 1))/Point1;
- ObjectCreate("Price13_1", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Price13_1",Price13_1, 9, "Arial Bold", Color13_1);
- ObjectSet("Price13_1", OBJPROP_CORNER, 0);
- ObjectSet("Price13_1", OBJPROP_XDISTANCE, 440);
- ObjectSet("Price13_1", OBJPROP_YDISTANCE, 56);
- color Color13_0;
- if(iClose("EURJPY", PERIOD_D1, 0) > iOpen("EURJPY", PERIOD_D1, 0)) Color13_0 = LongColor;
- else if(iClose("EURJPY", PERIOD_D1, 0) == iOpen("EURJPY", PERIOD_D1, 0)) Color13_0 = SkyBlue;
- else if(iClose("EURJPY", PERIOD_D1, 0) < iOpen("EURJPY", PERIOD_D1, 0)) Color13_0 = ShortColor;
- int Price13_0 = (iHigh("EURJPY", PERIOD_D1, 0) - iLow("EURJPY", PERIOD_D1, 0))/Point1;
- ObjectCreate("Price13_0", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Price13_0",Price13_0, 9, "Arial Bold", Color13_0);
- ObjectSet("Price13_0", OBJPROP_CORNER, 0);
- ObjectSet("Price13_0", OBJPROP_XDISTANCE, 480);
- ObjectSet("Price13_0", OBJPROP_YDISTANCE, 56);
- ObjectCreate("Mon14", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Mon14","EURNZD", 9, "Arial Bold", SkyBlue);
- ObjectSet("Mon14", OBJPROP_CORNER, 0);
- ObjectSet("Mon14", OBJPROP_XDISTANCE, 350);
- ObjectSet("Mon14", OBJPROP_YDISTANCE, 74);
- color Color14_2;
- if(iClose("EURNZD", PERIOD_D1, 2) > iOpen("EURNZD", PERIOD_D1, 2)) Color14_2 = LongColor;
- else if(iClose("EURNZD", PERIOD_D1, 2) == iOpen("EURNZD", PERIOD_D1, 2)) Color14_2 = SkyBlue;
- else if(iClose("EURNZD", PERIOD_D1, 2) < iOpen("EURNZD", PERIOD_D1, 2)) Color14_2 = ShortColor;
- int Price14_2 = (iHigh("EURNZD", PERIOD_D1, 2) - iLow("EURNZD", PERIOD_D1, 2))/Point2;
- ObjectCreate("Price14_2", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Price14_2",Price14_2, 9, "Arial Bold", Color14_2);
- ObjectSet("Price14_2", OBJPROP_CORNER, 0);
- ObjectSet("Price14_2", OBJPROP_XDISTANCE, 400);
- ObjectSet("Price14_2", OBJPROP_YDISTANCE, 74);
- color Color14_1;
- if(iClose("EURNZD", PERIOD_D1, 1) > iOpen("EURNZD", PERIOD_D1, 1)) Color14_1 = LongColor;
- else if(iClose("EURNZD", PERIOD_D1, 1) == iOpen("EURNZD", PERIOD_D1, 1)) Color14_1 = SkyBlue;
- else if(iClose("EURNZD", PERIOD_D1, 1) < iOpen("EURNZD", PERIOD_D1, 1)) Color14_1 = ShortColor;
- int Price14_1 = (iHigh("EURNZD", PERIOD_D1, 1) - iLow("EURNZD", PERIOD_D1, 1))/Point2;
- ObjectCreate("Price14_1", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Price14_1",Price14_1, 9, "Arial Bold", Color14_1);
- ObjectSet("Price14_1", OBJPROP_CORNER, 0);
- ObjectSet("Price14_1", OBJPROP_XDISTANCE, 440);
- ObjectSet("Price14_1", OBJPROP_YDISTANCE, 74);
- color Color14_0;
- if(iClose("EURNZD", PERIOD_D1, 0) > iOpen("EURNZD", PERIOD_D1, 0)) Color14_0 = LongColor;
- else if(iClose("EURNZD", PERIOD_D1, 0) == iOpen("EURNZD", PERIOD_D1, 0)) Color14_0 = SkyBlue;
- else if(iClose("EURNZD", PERIOD_D1, 0) < iOpen("EURNZD", PERIOD_D1, 0)) Color14_0 = ShortColor;
- int Price14_0 = (iHigh("EURNZD", PERIOD_D1, 0) - iLow("EURNZD", PERIOD_D1, 0))/Point2;
- ObjectCreate("Price14_0", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Price14_0",Price14_0, 9, "Arial Bold", Color14_0);
- ObjectSet("Price14_0", OBJPROP_CORNER, 0);
- ObjectSet("Price14_0", OBJPROP_XDISTANCE, 480);
- ObjectSet("Price14_0", OBJPROP_YDISTANCE, 74);
- ObjectCreate("Mon15", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Mon15","EURUSD", 9, "Arial Bold", SkyBlue);
- ObjectSet("Mon15", OBJPROP_CORNER, 0);
- ObjectSet("Mon15", OBJPROP_XDISTANCE, 350);
- ObjectSet("Mon15", OBJPROP_YDISTANCE, 92);
- color Color15_2;
- if(iClose("EURUSD", PERIOD_D1, 2) > iOpen("EURUSD", PERIOD_D1, 2)) Color15_2 = LongColor;
- else if(iClose("EURUSD", PERIOD_D1, 2) == iOpen("EURUSD", PERIOD_D1, 2)) Color15_2 = SkyBlue;
- else if(iClose("EURUSD", PERIOD_D1, 2) < iOpen("EURUSD", PERIOD_D1, 2)) Color15_2 = ShortColor;
- int Price15_2 = (iHigh("EURUSD", PERIOD_D1, 2) - iLow("EURUSD", PERIOD_D1, 2))/Point2;
- ObjectCreate("Price15_2", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Price15_2",Price15_2, 9, "Arial Bold", Color15_2);
- ObjectSet("Price15_2", OBJPROP_CORNER, 0);
- ObjectSet("Price15_2", OBJPROP_XDISTANCE, 400);
- ObjectSet("Price15_2", OBJPROP_YDISTANCE, 92);
- color Color15_1;
- if(iClose("EURUSD", PERIOD_D1, 1) > iOpen("EURUSD", PERIOD_D1, 1)) Color15_1 = LongColor;
- else if(iClose("EURUSD", PERIOD_D1, 1) == iOpen("EURUSD", PERIOD_D1, 1)) Color15_1 = SkyBlue;
- else if(iClose("EURUSD", PERIOD_D1, 1) < iOpen("EURUSD", PERIOD_D1, 1)) Color15_1 = ShortColor;
- int Price15_1 = (iHigh("EURUSD", PERIOD_D1, 1) - iLow("EURUSD", PERIOD_D1, 1))/Point2;
- ObjectCreate("Price15_1", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Price15_1",Price15_1, 9, "Arial Bold", Color15_1);
- ObjectSet("Price15_1", OBJPROP_CORNER, 0);
- ObjectSet("Price15_1", OBJPROP_XDISTANCE, 440);
- ObjectSet("Price15_1", OBJPROP_YDISTANCE, 92);
- color Color15_0;
- if(iClose("EURUSD", PERIOD_D1, 0) > iOpen("EURUSD", PERIOD_D1, 0)) Color15_0 = LongColor;
- else if(iClose("EURUSD", PERIOD_D1, 0) == iOpen("EURUSD", PERIOD_D1, 0)) Color15_0 = SkyBlue;
- else if(iClose("EURUSD", PERIOD_D1, 0) < iOpen("EURUSD", PERIOD_D1, 0)) Color15_0 = ShortColor;
- int Price15_0 = (iHigh("EURUSD", PERIOD_D1, 0) - iLow("EURUSD", PERIOD_D1, 0))/Point2;
- ObjectCreate("Price15_0", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Price15_0",Price15_0, 9, "Arial Bold", Color15_0);
- ObjectSet("Price15_0", OBJPROP_CORNER, 0);
- ObjectSet("Price15_0", OBJPROP_XDISTANCE, 480);
- ObjectSet("Price15_0", OBJPROP_YDISTANCE, 92);
- ObjectCreate("Title4", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Title4","█████",9, "Arial Bold", SkyBlue);
- ObjectSet("Title4", OBJPROP_CORNER, 0);
- ObjectSet("Title4", OBJPROP_XDISTANCE, 520);
- ObjectSet("Title4", OBJPROP_YDISTANCE, 2);
- ObjectCreate("Day4_2", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Day4_2","前天", 9, "Arial Bold", SkyBlue);
- ObjectSet("Day4_2", OBJPROP_CORNER, 0);
- ObjectSet("Day4_2", OBJPROP_XDISTANCE, 570);
- ObjectSet("Day4_2", OBJPROP_YDISTANCE, 2);
- ObjectCreate("Day4_1", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Day4_1","昨天", 9, "Arial Bold", SkyBlue);
- ObjectSet("Day4_1", OBJPROP_CORNER, 0);
- ObjectSet("Day4_1", OBJPROP_XDISTANCE, 610);
- ObjectSet("Day4_1", OBJPROP_YDISTANCE, 2);
- ObjectCreate("Day4_0", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Day4_0","今天", 9, "Arial Bold", SkyBlue);
- ObjectSet("Day4_0", OBJPROP_CORNER, 0);
- ObjectSet("Day4_0", OBJPROP_XDISTANCE, 650);
- ObjectSet("Day4_0", OBJPROP_YDISTANCE, 2);
- ObjectCreate("Mon16", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Mon16","GBPAUD", 9, "Arial Bold", SkyBlue);
- ObjectSet("Mon16", OBJPROP_CORNER, 0);
- ObjectSet("Mon16", OBJPROP_XDISTANCE, 520);
- ObjectSet("Mon16", OBJPROP_YDISTANCE, 20);
- color Color16_2;
- if(iClose("GBPAUD", PERIOD_D1, 2) > iOpen("GBPAUD", PERIOD_D1, 2)) Color16_2 = LongColor;
- else if(iClose("GBPAUD", PERIOD_D1, 2) == iOpen("GBPAUD", PERIOD_D1, 2)) Color16_2 = SkyBlue;
- else if(iClose("GBPAUD", PERIOD_D1, 2) < iOpen("GBPAUD", PERIOD_D1, 2)) Color16_2 = ShortColor;
- int Price16_2 = (iHigh("GBPAUD", PERIOD_D1, 2) - iLow("GBPAUD", PERIOD_D1, 2))/Point2;
- ObjectCreate("Price16_2", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Price16_2",Price16_2, 9, "Arial Bold", Color16_2);
- ObjectSet("Price16_2", OBJPROP_CORNER, 0);
- ObjectSet("Price16_2", OBJPROP_XDISTANCE, 570);
- ObjectSet("Price16_2", OBJPROP_YDISTANCE, 20);
- color Color16_1;
- if(iClose("GBPAUD", PERIOD_D1, 1) > iOpen("GBPAUD", PERIOD_D1, 1)) Color16_1 = LongColor;
- else if(iClose("GBPAUD", PERIOD_D1, 1) == iOpen("GBPAUD", PERIOD_D1, 1)) Color16_1 = SkyBlue;
- else if(iClose("GBPAUD", PERIOD_D1, 1) < iOpen("GBPAUD", PERIOD_D1, 1)) Color16_1 = ShortColor;
- int Price16_1 = (iHigh("GBPAUD", PERIOD_D1, 1) - iLow("GBPAUD", PERIOD_D1, 1))/Point2;
- ObjectCreate("Price16_1", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Price16_1",Price16_1, 9, "Arial Bold", Color16_1);
- ObjectSet("Price16_1", OBJPROP_CORNER, 0);
- ObjectSet("Price16_1", OBJPROP_XDISTANCE, 610);
- ObjectSet("Price16_1", OBJPROP_YDISTANCE, 20);
- color Color16_0;
- if(iClose("GBPAUD", PERIOD_D1, 0) > iOpen("GBPAUD", PERIOD_D1, 0)) Color16_0 = LongColor;
- else if(iClose("GBPAUD", PERIOD_D1, 0) == iOpen("GBPAUD", PERIOD_D1, 0)) Color16_0 = SkyBlue;
- else if(iClose("GBPAUD", PERIOD_D1, 0) < iOpen("GBPAUD", PERIOD_D1, 0)) Color16_0 = ShortColor;
- int Price16_0 = (iHigh("GBPAUD", PERIOD_D1, 0) - iLow("GBPAUD", PERIOD_D1, 0))/Point2;
- ObjectCreate("Price16_0", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Price16_0",Price16_0, 9, "Arial Bold", Color16_0);
- ObjectSet("Price16_0", OBJPROP_CORNER, 0);
- ObjectSet("Price16_0", OBJPROP_XDISTANCE, 650);
- ObjectSet("Price16_0", OBJPROP_YDISTANCE, 20);
- ObjectCreate("Mon17", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Mon17","GBPCAD", 9, "Arial Bold", SkyBlue);
- ObjectSet("Mon17", OBJPROP_CORNER, 0);
- ObjectSet("Mon17", OBJPROP_XDISTANCE, 520);
- ObjectSet("Mon17", OBJPROP_YDISTANCE, 38);
- color Color17_2;
- if(iClose("GBPCAD", PERIOD_D1, 2) > iOpen("GBPCAD", PERIOD_D1, 2)) Color17_2 = LongColor;
- else if(iClose("GBPCAD", PERIOD_D1, 2) == iOpen("GBPCAD", PERIOD_D1, 2)) Color17_2 = SkyBlue;
- else if(iClose("GBPCAD", PERIOD_D1, 2) < iOpen("GBPCAD", PERIOD_D1, 2)) Color17_2 = ShortColor;
- int Price17_2 = (iHigh("GBPCAD", PERIOD_D1, 2) - iLow("GBPCAD", PERIOD_D1, 2))/Point2;
- ObjectCreate("Price17_2", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Price17_2",Price17_2, 9, "Arial Bold", Color17_2);
- ObjectSet("Price17_2", OBJPROP_CORNER, 0);
- ObjectSet("Price17_2", OBJPROP_XDISTANCE, 570);
- ObjectSet("Price17_2", OBJPROP_YDISTANCE, 38);
- color Color17_1;
- if(iClose("GBPCAD", PERIOD_D1, 1) > iOpen("GBPCAD", PERIOD_D1, 1)) Color17_1 = LongColor;
- else if(iClose("GBPCAD", PERIOD_D1, 1) == iOpen("GBPCAD", PERIOD_D1, 1)) Color17_1 = SkyBlue;
- else if(iClose("GBPCAD", PERIOD_D1, 1) < iOpen("GBPCAD", PERIOD_D1, 1)) Color17_1 = ShortColor;
- int Price17_1 = (iHigh("GBPCAD", PERIOD_D1, 1) - iLow("GBPCAD", PERIOD_D1, 1))/Point2;
- ObjectCreate("Price17_1", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Price17_1",Price17_1, 9, "Arial Bold", Color17_1);
- ObjectSet("Price17_1", OBJPROP_CORNER, 0);
- ObjectSet("Price17_1", OBJPROP_XDISTANCE, 610);
- ObjectSet("Price17_1", OBJPROP_YDISTANCE, 38);
- color Color17_0;
- if(iClose("GBPCAD", PERIOD_D1, 0) > iOpen("GBPCAD", PERIOD_D1, 0)) Color17_0 = LongColor;
- else if(iClose("GBPCAD", PERIOD_D1, 0) == iOpen("GBPCAD", PERIOD_D1, 0)) Color17_0 = SkyBlue;
- else if(iClose("GBPCAD", PERIOD_D1, 0) < iOpen("GBPCAD", PERIOD_D1, 0)) Color17_0 = ShortColor;
- int Price17_0 = (iHigh("GBPCAD", PERIOD_D1, 0) - iLow("GBPCAD", PERIOD_D1, 0))/Point2;
- ObjectCreate("Price17_0", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Price17_0",Price17_0, 9, "Arial Bold", Color17_0);
- ObjectSet("Price17_0", OBJPROP_CORNER, 0);
- ObjectSet("Price17_0", OBJPROP_XDISTANCE, 650);
- ObjectSet("Price17_0", OBJPROP_YDISTANCE, 38);
- ObjectCreate("Mon18", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Mon18","GBPCHF", 9, "Arial Bold", SkyBlue);
- ObjectSet("Mon18", OBJPROP_CORNER, 0);
- ObjectSet("Mon18", OBJPROP_XDISTANCE, 520);
- ObjectSet("Mon18", OBJPROP_YDISTANCE, 56);
- color Color18_2;
- if(iClose("GBPCHF", PERIOD_D1, 2) > iOpen("GBPCHF", PERIOD_D1, 2)) Color18_2 = LongColor;
- else if(iClose("GBPCHF", PERIOD_D1, 2) == iOpen("GBPCHF", PERIOD_D1, 2)) Color18_2 = SkyBlue;
- else if(iClose("GBPCHF", PERIOD_D1, 2) < iOpen("GBPCHF", PERIOD_D1, 2)) Color18_2 = ShortColor;
- int Price18_2 = (iHigh("GBPCHF", PERIOD_D1, 2) - iLow("GBPCHF", PERIOD_D1, 2))/Point2;
- ObjectCreate("Price18_2", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Price18_2",Price18_2, 9, "Arial Bold", Color18_2);
- ObjectSet("Price18_2", OBJPROP_CORNER, 0);
- ObjectSet("Price18_2", OBJPROP_XDISTANCE, 570);
- ObjectSet("Price18_2", OBJPROP_YDISTANCE, 56);
- color Color18_1;
- if(iClose("GBPCHF", PERIOD_D1, 1) > iOpen("GBPCHF", PERIOD_D1, 1)) Color18_1 = LongColor;
- else if(iClose("GBPCHF", PERIOD_D1, 1) == iOpen("GBPCHF", PERIOD_D1, 1)) Color18_1 = SkyBlue;
- else if(iClose("GBPCHF", PERIOD_D1, 1) < iOpen("GBPCHF", PERIOD_D1, 1)) Color18_1 = ShortColor;
- int Price18_1 = (iHigh("GBPCHF", PERIOD_D1, 1) - iLow("GBPCHF", PERIOD_D1, 1))/Point2;
- ObjectCreate("Price18_1", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Price18_1",Price18_1, 9, "Arial Bold", Color18_1);
- ObjectSet("Price18_1", OBJPROP_CORNER, 0);
- ObjectSet("Price18_1", OBJPROP_XDISTANCE, 610);
- ObjectSet("Price18_1", OBJPROP_YDISTANCE, 56);
- color Color18_0;
- if(iClose("GBPCHF", PERIOD_D1, 0) > iOpen("GBPCHF", PERIOD_D1, 0)) Color18_0 = LongColor;
- else if(iClose("GBPCHF", PERIOD_D1, 0) == iOpen("GBPCHF", PERIOD_D1, 0)) Color18_0 = SkyBlue;
- else if(iClose("GBPCHF", PERIOD_D1, 0) < iOpen("GBPCHF", PERIOD_D1, 0)) Color18_0 = ShortColor;
- int Price18_0 = (iHigh("GBPCHF", PERIOD_D1, 0) - iLow("GBPCHF", PERIOD_D1, 0))/Point2;
- ObjectCreate("Price18_0", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Price18_0",Price18_0, 9, "Arial Bold", Color18_0);
- ObjectSet("Price18_0", OBJPROP_CORNER, 0);
- ObjectSet("Price18_0", OBJPROP_XDISTANCE, 650);
- ObjectSet("Price18_0", OBJPROP_YDISTANCE, 56);
- ObjectCreate("Mon19", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Mon19","GBPJPY", 9, "Arial Bold", SkyBlue);
- ObjectSet("Mon19", OBJPROP_CORNER, 0);
- ObjectSet("Mon19", OBJPROP_XDISTANCE, 520);
- ObjectSet("Mon19", OBJPROP_YDISTANCE, 74);
- color Color19_2;
- if(iClose("GBPJPY", PERIOD_D1, 2) > iOpen("GBPJPY", PERIOD_D1, 2)) Color19_2 = LongColor;
- else if(iClose("GBPJPY", PERIOD_D1, 2) == iOpen("GBPJPY", PERIOD_D1, 2)) Color19_2 = SkyBlue;
- else if(iClose("GBPJPY", PERIOD_D1, 2) < iOpen("GBPJPY", PERIOD_D1, 2)) Color19_2 = ShortColor;
- int Price19_2 = (iHigh("GBPJPY", PERIOD_D1, 2) - iLow("GBPJPY", PERIOD_D1, 2))/Point1;
- ObjectCreate("Price19_2", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Price19_2",Price19_2, 9, "Arial Bold", Color19_2);
- ObjectSet("Price19_2", OBJPROP_CORNER, 0);
- ObjectSet("Price19_2", OBJPROP_XDISTANCE, 570);
- ObjectSet("Price19_2", OBJPROP_YDISTANCE, 74);
- color Color19_1;
- if(iClose("GBPJPY", PERIOD_D1, 1) > iOpen("GBPJPY", PERIOD_D1, 1)) Color19_1 = LongColor;
- else if(iClose("GBPJPY", PERIOD_D1, 1) == iOpen("GBPJPY", PERIOD_D1, 1)) Color19_1 = SkyBlue;
- else if(iClose("GBPJPY", PERIOD_D1, 1) < iOpen("GBPJPY", PERIOD_D1, 1)) Color19_1 = ShortColor;
- int Price19_1 = (iHigh("GBPJPY", PERIOD_D1, 1) - iLow("GBPJPY", PERIOD_D1, 1))/Point1;
- ObjectCreate("Price19_1", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Price19_1",Price19_1, 9, "Arial Bold", Color19_1);
- ObjectSet("Price19_1", OBJPROP_CORNER, 0);
- ObjectSet("Price19_1", OBJPROP_XDISTANCE, 610);
- ObjectSet("Price19_1", OBJPROP_YDISTANCE, 74);
- color Color19_0;
- if(iClose("GBPJPY", PERIOD_D1, 0) > iOpen("GBPJPY", PERIOD_D1, 0)) Color19_0 = LongColor;
- else if(iClose("GBPJPY", PERIOD_D1, 0) == iOpen("GBPJPY", PERIOD_D1, 0)) Color19_0 = SkyBlue;
- else if(iClose("GBPJPY", PERIOD_D1, 0) < iOpen("GBPJPY", PERIOD_D1, 0)) Color19_0 = ShortColor;
- int Price19_0 = (iHigh("GBPJPY", PERIOD_D1, 0) - iLow("GBPJPY", PERIOD_D1, 0))/Point1;
- ObjectCreate("Price19_0", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Price19_0",Price19_0, 9, "Arial Bold", Color19_0);
- ObjectSet("Price19_0", OBJPROP_CORNER, 0);
- ObjectSet("Price19_0", OBJPROP_XDISTANCE, 650);
- ObjectSet("Price19_0", OBJPROP_YDISTANCE, 74);
- ObjectCreate("Mon20", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Mon20","GBPNZD", 9, "Arial Bold", SkyBlue);
- ObjectSet("Mon20", OBJPROP_CORNER, 0);
- ObjectSet("Mon20", OBJPROP_XDISTANCE, 520);
- ObjectSet("Mon20", OBJPROP_YDISTANCE, 92);
- color Color20_2;
- if(iClose("GBPNZD", PERIOD_D1, 2) > iOpen("GBPNZD", PERIOD_D1, 2)) Color20_2 = LongColor;
- else if(iClose("GBPNZD", PERIOD_D1, 2) == iOpen("GBPNZD", PERIOD_D1, 2)) Color20_2 = SkyBlue;
- else if(iClose("GBPNZD", PERIOD_D1, 2) < iOpen("GBPNZD", PERIOD_D1, 2)) Color20_2 = ShortColor;
- int Price20_2 = (iHigh("GBPNZD", PERIOD_D1, 2) - iLow("GBPNZD", PERIOD_D1, 2))/Point2;
- ObjectCreate("Price20_2", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Price20_2",Price20_2, 9, "Arial Bold", Color20_2);
- ObjectSet("Price20_2", OBJPROP_CORNER, 0);
- ObjectSet("Price20_2", OBJPROP_XDISTANCE, 570);
- ObjectSet("Price20_2", OBJPROP_YDISTANCE, 92);
- color Color20_1;
- if(iClose("GBPNZD", PERIOD_D1, 1) > iOpen("GBPNZD", PERIOD_D1, 1)) Color20_1 = LongColor;
- else if(iClose("GBPNZD", PERIOD_D1, 1) == iOpen("GBPNZD", PERIOD_D1, 1)) Color20_1 = SkyBlue;
- else if(iClose("GBPNZD", PERIOD_D1, 1) < iOpen("GBPNZD", PERIOD_D1, 1)) Color20_1 = ShortColor;
- int Price20_1 = (iHigh("GBPNZD", PERIOD_D1, 1) - iLow("GBPNZD", PERIOD_D1, 1))/Point2;
- ObjectCreate("Price20_1", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Price20_1",Price20_1, 9, "Arial Bold", Color20_1);
- ObjectSet("Price20_1", OBJPROP_CORNER, 0);
- ObjectSet("Price20_1", OBJPROP_XDISTANCE, 610);
- ObjectSet("Price20_1", OBJPROP_YDISTANCE, 92);
- color Color20_0;
- if(iClose("GBPNZD", PERIOD_D1, 0) > iOpen("GBPNZD", PERIOD_D1, 0)) Color20_0 = LongColor;
- else if(iClose("GBPNZD", PERIOD_D1, 0) == iOpen("GBPNZD", PERIOD_D1, 0)) Color20_0 = SkyBlue;
- else if(iClose("GBPNZD", PERIOD_D1, 0) < iOpen("GBPNZD", PERIOD_D1, 0)) Color20_0 = ShortColor;
- int Price20_0 = (iHigh("GBPNZD", PERIOD_D1, 0) - iLow("GBPNZD", PERIOD_D1, 0))/Point2;
- ObjectCreate("Price20_0", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Price20_0",Price20_0, 9, "Arial Bold", Color20_0);
- ObjectSet("Price20_0", OBJPROP_CORNER, 0);
- ObjectSet("Price20_0", OBJPROP_XDISTANCE, 650);
- ObjectSet("Price20_0", OBJPROP_YDISTANCE, 92);
- ObjectCreate("Title5", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Title5","█████",9, "Arial Bold", SkyBlue);
- ObjectSet("Title5", OBJPROP_CORNER, 0);
- ObjectSet("Title5", OBJPROP_XDISTANCE, 690);
- ObjectSet("Title5", OBJPROP_YDISTANCE, 2);
- ObjectCreate("Day5_2", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Day5_2","前天", 9, "Arial Bold", SkyBlue);
- ObjectSet("Day5_2", OBJPROP_CORNER, 0);
- ObjectSet("Day5_2", OBJPROP_XDISTANCE, 740);
- ObjectSet("Day5_2", OBJPROP_YDISTANCE, 2);
- ObjectCreate("Day5_1", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Day5_1","昨天", 9, "Arial Bold", SkyBlue);
- ObjectSet("Day5_1", OBJPROP_CORNER, 0);
- ObjectSet("Day5_1", OBJPROP_XDISTANCE, 780);
- ObjectSet("Day5_1", OBJPROP_YDISTANCE, 2);
- ObjectCreate("Day5_0", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Day5_0","今天", 9, "Arial Bold", SkyBlue);
- ObjectSet("Day5_0", OBJPROP_CORNER, 0);
- ObjectSet("Day5_0", OBJPROP_XDISTANCE, 820);
- ObjectSet("Day5_0", OBJPROP_YDISTANCE, 2);
- ObjectCreate("Mon21", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Mon21","GBPUSD", 9, "Arial Bold", SkyBlue);
- ObjectSet("Mon21", OBJPROP_CORNER, 0);
- ObjectSet("Mon21", OBJPROP_XDISTANCE, 690);
- ObjectSet("Mon21", OBJPROP_YDISTANCE, 20);
- color Color21_2;
- if(iClose("GBPUSD", PERIOD_D1, 2) > iOpen("GBPUSD", PERIOD_D1, 2)) Color21_2 = LongColor;
- else if(iClose("GBPUSD", PERIOD_D1, 2) == iOpen("GBPUSD", PERIOD_D1, 2)) Color21_2 = SkyBlue;
- else if(iClose("GBPUSD", PERIOD_D1, 2) < iOpen("GBPUSD", PERIOD_D1, 2)) Color21_2 = ShortColor;
- int Price21_2 = (iHigh("GBPUSD", PERIOD_D1, 2) - iLow("GBPUSD", PERIOD_D1, 2))/Point2;
- ObjectCreate("Price21_2", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Price21_2",Price21_2, 9, "Arial Bold", Color21_2);
- ObjectSet("Price21_2", OBJPROP_CORNER, 0);
- ObjectSet("Price21_2", OBJPROP_XDISTANCE, 740);
- ObjectSet("Price21_2", OBJPROP_YDISTANCE, 20);
- color Color21_1;
- if(iClose("GBPUSD", PERIOD_D1, 1) > iOpen("GBPUSD", PERIOD_D1, 1)) Color21_1 = LongColor;
- else if(iClose("GBPUSD", PERIOD_D1, 1) == iOpen("GBPUSD", PERIOD_D1, 1)) Color21_1 = SkyBlue;
- else if(iClose("GBPUSD", PERIOD_D1, 1) < iOpen("GBPUSD", PERIOD_D1, 1)) Color21_1 = ShortColor;
- int Price21_1 = (iHigh("GBPUSD", PERIOD_D1, 1) - iLow("GBPUSD", PERIOD_D1, 1))/Point2;
- ObjectCreate("Price21_1", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Price21_1",Price21_1, 9, "Arial Bold", Color21_1);
- ObjectSet("Price21_1", OBJPROP_CORNER, 0);
- ObjectSet("Price21_1", OBJPROP_XDISTANCE, 780);
- ObjectSet("Price21_1", OBJPROP_YDISTANCE, 20);
- color Color21_0;
- if(iClose("GBPUSD", PERIOD_D1, 0) > iOpen("GBPUSD", PERIOD_D1, 0)) Color21_0 = LongColor;
- else if(iClose("GBPUSD", PERIOD_D1, 0) == iOpen("GBPUSD", PERIOD_D1, 0)) Color21_0 = SkyBlue;
- else if(iClose("GBPUSD", PERIOD_D1, 0) < iOpen("GBPUSD", PERIOD_D1, 0)) Color21_0 = ShortColor;
- int Price21_0 = (iHigh("GBPUSD", PERIOD_D1, 0) - iLow("GBPUSD", PERIOD_D1, 0))/Point2;
- ObjectCreate("Price21_0", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Price21_0",Price21_0, 9, "Arial Bold", Color21_0);
- ObjectSet("Price21_0", OBJPROP_CORNER, 0);
- ObjectSet("Price21_0", OBJPROP_XDISTANCE, 820);
- ObjectSet("Price21_0", OBJPROP_YDISTANCE, 20);
- ObjectCreate("Mon22", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Mon22","NZDCAD", 9, "Arial Bold", SkyBlue);
- ObjectSet("Mon22", OBJPROP_CORNER, 0);
- ObjectSet("Mon22", OBJPROP_XDISTANCE, 690);
- ObjectSet("Mon22", OBJPROP_YDISTANCE, 38);
- color Color22_2;
- if(iClose("NZDCAD", PERIOD_D1, 2) > iOpen("NZDCAD", PERIOD_D1, 2)) Color22_2 = LongColor;
- else if(iClose("NZDCAD", PERIOD_D1, 2) == iOpen("NZDCAD", PERIOD_D1, 2)) Color22_2 = SkyBlue;
- else if(iClose("NZDCAD", PERIOD_D1, 2) < iOpen("NZDCAD", PERIOD_D1, 2)) Color22_2 = ShortColor;
- int Price22_2 = (iHigh("NZDCAD", PERIOD_D1, 2) - iLow("NZDCAD", PERIOD_D1, 2))/Point2;
- ObjectCreate("Price22_2", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Price22_2",Price22_2, 9, "Arial Bold", Color22_2);
- ObjectSet("Price22_2", OBJPROP_CORNER, 0);
- ObjectSet("Price22_2", OBJPROP_XDISTANCE, 740);
- ObjectSet("Price22_2", OBJPROP_YDISTANCE, 38);
- color Color22_1;
- if(iClose("NZDCAD", PERIOD_D1, 1) > iOpen("NZDCAD", PERIOD_D1, 1)) Color22_1 = LongColor;
- else if(iClose("NZDCAD", PERIOD_D1, 1) == iOpen("NZDCAD", PERIOD_D1, 1)) Color22_1 = SkyBlue;
- else if(iClose("NZDCAD", PERIOD_D1, 1) < iOpen("NZDCAD", PERIOD_D1, 1)) Color22_1 = ShortColor;
- int Price22_1 = (iHigh("NZDCAD", PERIOD_D1, 1) - iLow("NZDCAD", PERIOD_D1, 1))/Point2;
- ObjectCreate("Price22_1", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Price22_1",Price22_1, 9, "Arial Bold", Color22_1);
- ObjectSet("Price22_1", OBJPROP_CORNER, 0);
- ObjectSet("Price22_1", OBJPROP_XDISTANCE, 780);
- ObjectSet("Price22_1", OBJPROP_YDISTANCE, 38);
- color Color22_0;
- if(iClose("NZDCAD", PERIOD_D1, 0) > iOpen("NZDCAD", PERIOD_D1, 0)) Color22_0 = LongColor;
- else if(iClose("NZDCAD", PERIOD_D1, 0) == iOpen("NZDCAD", PERIOD_D1, 0)) Color22_0 = SkyBlue;
- else if(iClose("NZDCAD", PERIOD_D1, 0) < iOpen("NZDCAD", PERIOD_D1, 0)) Color22_0 = ShortColor;
- int Price22_0 = (iHigh("NZDCAD", PERIOD_D1, 0) - iLow("NZDCAD", PERIOD_D1, 0))/Point2;
- ObjectCreate("Price22_0", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Price22_0",Price22_0, 9, "Arial Bold", Color22_0);
- ObjectSet("Price22_0", OBJPROP_CORNER, 0);
- ObjectSet("Price22_0", OBJPROP_XDISTANCE, 820);
- ObjectSet("Price22_0", OBJPROP_YDISTANCE, 38);
- ObjectCreate("Mon23", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Mon23","NZDCHF", 9, "Arial Bold", SkyBlue);
- ObjectSet("Mon23", OBJPROP_CORNER, 0);
- ObjectSet("Mon23", OBJPROP_XDISTANCE, 690);
- ObjectSet("Mon23", OBJPROP_YDISTANCE, 56);
- color Color23_2;
- if(iClose("NZDCHF", PERIOD_D1, 2) > iOpen("NZDCHF", PERIOD_D1, 2)) Color23_2 = LongColor;
- else if(iClose("NZDCHF", PERIOD_D1, 2) == iOpen("NZDCHF", PERIOD_D1, 2)) Color23_2 = SkyBlue;
- else if(iClose("NZDCHF", PERIOD_D1, 2) < iOpen("NZDCHF", PERIOD_D1, 2)) Color23_2 = ShortColor;
- int Price23_2 = (iHigh("NZDCHF", PERIOD_D1, 2) - iLow("NZDCHF", PERIOD_D1, 2))/Point2;
- ObjectCreate("Price23_2", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Price23_2",Price23_2, 9, "Arial Bold", Color23_2);
- ObjectSet("Price23_2", OBJPROP_CORNER, 0);
- ObjectSet("Price23_2", OBJPROP_XDISTANCE, 740);
- ObjectSet("Price23_2", OBJPROP_YDISTANCE, 56);
- color Color23_1;
- if(iClose("NZDCHF", PERIOD_D1, 1) > iOpen("NZDCHF", PERIOD_D1, 1)) Color23_1 = LongColor;
- else if(iClose("NZDCHF", PERIOD_D1, 1) == iOpen("NZDCHF", PERIOD_D1, 1)) Color23_1 = SkyBlue;
- else if(iClose("NZDCHF", PERIOD_D1, 1) < iOpen("NZDCHF", PERIOD_D1, 1)) Color23_1 = ShortColor;
- int Price23_1 = (iHigh("NZDCHF", PERIOD_D1, 1) - iLow("NZDCHF", PERIOD_D1, 1))/Point2;
- ObjectCreate("Price23_1", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Price23_1",Price23_1, 9, "Arial Bold", Color23_1);
- ObjectSet("Price23_1", OBJPROP_CORNER, 0);
- ObjectSet("Price23_1", OBJPROP_XDISTANCE, 780);
- ObjectSet("Price23_1", OBJPROP_YDISTANCE, 56);
- color Color23_0;
- if(iClose("NZDCHF", PERIOD_D1, 0) > iOpen("NZDCHF", PERIOD_D1, 0)) Color23_0 = LongColor;
- else if(iClose("NZDCHF", PERIOD_D1, 0) == iOpen("NZDCHF", PERIOD_D1, 0)) Color23_0 = SkyBlue;
- else if(iClose("NZDCHF", PERIOD_D1, 0) < iOpen("NZDCHF", PERIOD_D1, 0)) Color23_0 = ShortColor;
- int Price23_0 = (iHigh("NZDCHF", PERIOD_D1, 0) - iLow("NZDCHF", PERIOD_D1, 0))/Point2;
- ObjectCreate("Price23_0", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Price23_0",Price23_0, 9, "Arial Bold", Color23_0);
- ObjectSet("Price23_0", OBJPROP_CORNER, 0);
- ObjectSet("Price23_0", OBJPROP_XDISTANCE, 820);
- ObjectSet("Price23_0", OBJPROP_YDISTANCE, 56);
- ObjectCreate("Mon24", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Mon24","NZDJPY", 9, "Arial Bold", SkyBlue);
- ObjectSet("Mon24", OBJPROP_CORNER, 0);
- ObjectSet("Mon24", OBJPROP_XDISTANCE, 690);
- ObjectSet("Mon24", OBJPROP_YDISTANCE, 74);
- color Color24_2;
- if(iClose("NZDJPY", PERIOD_D1, 2) > iOpen("NZDJPY", PERIOD_D1, 2)) Color24_2 = LongColor;
- else if(iClose("NZDJPY", PERIOD_D1, 2) == iOpen("NZDJPY", PERIOD_D1, 2)) Color24_2 = SkyBlue;
- else if(iClose("NZDJPY", PERIOD_D1, 2) < iOpen("NZDJPY", PERIOD_D1, 2)) Color24_2 = ShortColor;
- int Price24_2 = (iHigh("NZDJPY", PERIOD_D1, 2) - iLow("NZDJPY", PERIOD_D1, 2))/Point1;
- ObjectCreate("Price24_2", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Price24_2",Price24_2, 9, "Arial Bold", Color24_2);
- ObjectSet("Price24_2", OBJPROP_CORNER, 0);
- ObjectSet("Price24_2", OBJPROP_XDISTANCE, 740);
- ObjectSet("Price24_2", OBJPROP_YDISTANCE, 74);
- color Color24_1;
- if(iClose("NZDJPY", PERIOD_D1, 1) > iOpen("NZDJPY", PERIOD_D1, 1)) Color24_1 = LongColor;
- else if(iClose("NZDJPY", PERIOD_D1, 1) == iOpen("NZDJPY", PERIOD_D1, 1)) Color24_1 = SkyBlue;
- else if(iClose("NZDJPY", PERIOD_D1, 1) < iOpen("NZDJPY", PERIOD_D1, 1)) Color24_1 = ShortColor;
- int Price24_1 = (iHigh("NZDJPY", PERIOD_D1, 1) - iLow("NZDJPY", PERIOD_D1, 1))/Point1;
- ObjectCreate("Price24_1", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Price24_1",Price24_1, 9, "Arial Bold", Color24_1);
- ObjectSet("Price24_1", OBJPROP_CORNER, 0);
- ObjectSet("Price24_1", OBJPROP_XDISTANCE, 780);
- ObjectSet("Price24_1", OBJPROP_YDISTANCE, 74);
- color Color24_0;
- if(iClose("NZDJPY", PERIOD_D1, 0) > iOpen("NZDJPY", PERIOD_D1, 0)) Color24_0 = LongColor;
- else if(iClose("NZDJPY", PERIOD_D1, 0) == iOpen("NZDJPY", PERIOD_D1, 0)) Color24_0 = SkyBlue;
- else if(iClose("NZDJPY", PERIOD_D1, 0) < iOpen("NZDJPY", PERIOD_D1, 0)) Color24_0 = ShortColor;
- int Price24_0 = (iHigh("NZDJPY", PERIOD_D1, 0) - iLow("NZDJPY", PERIOD_D1, 0))/Point1;
- ObjectCreate("Price24_0", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Price24_0",Price24_0, 9, "Arial Bold", Color24_0);
- ObjectSet("Price24_0", OBJPROP_CORNER, 0);
- ObjectSet("Price24_0", OBJPROP_XDISTANCE, 820);
- ObjectSet("Price24_0", OBJPROP_YDISTANCE, 74);
- ObjectCreate("Mon25", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Mon25","NZDUSD", 9, "Arial Bold", SkyBlue);
- ObjectSet("Mon25", OBJPROP_CORNER, 0);
- ObjectSet("Mon25", OBJPROP_XDISTANCE, 690);
- ObjectSet("Mon25", OBJPROP_YDISTANCE, 92);
- color Color25_2;
- if(iClose("NZDUSD", PERIOD_D1, 2) > iOpen("NZDUSD", PERIOD_D1, 2)) Color25_2 = LongColor;
- else if(iClose("NZDUSD", PERIOD_D1, 2) == iOpen("NZDUSD", PERIOD_D1, 2)) Color25_2 = SkyBlue;
- else if(iClose("NZDUSD", PERIOD_D1, 2) < iOpen("NZDUSD", PERIOD_D1, 2)) Color25_2 = ShortColor;
- int Price25_2 = (iHigh("NZDUSD", PERIOD_D1, 2) - iLow("NZDUSD", PERIOD_D1, 2))/Point2;
- ObjectCreate("Price25_2", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Price25_2",Price25_2, 9, "Arial Bold", Color25_2);
- ObjectSet("Price25_2", OBJPROP_CORNER, 0);
- ObjectSet("Price25_2", OBJPROP_XDISTANCE, 740);
- ObjectSet("Price25_2", OBJPROP_YDISTANCE, 92);
- color Color25_1;
- if(iClose("NZDUSD", PERIOD_D1, 1) > iOpen("NZDUSD", PERIOD_D1, 1)) Color25_1 = LongColor;
- else if(iClose("NZDUSD", PERIOD_D1, 1) == iOpen("NZDUSD", PERIOD_D1, 1)) Color25_1 = SkyBlue;
- else if(iClose("NZDUSD", PERIOD_D1, 1) < iOpen("NZDUSD", PERIOD_D1, 1)) Color25_1 = ShortColor;
- int Price25_1 = (iHigh("NZDUSD", PERIOD_D1, 1) - iLow("NZDUSD", PERIOD_D1, 1))/Point2;
- ObjectCreate("Price25_1", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Price25_1",Price25_1, 9, "Arial Bold", Color25_1);
- ObjectSet("Price25_1", OBJPROP_CORNER, 0);
- ObjectSet("Price25_1", OBJPROP_XDISTANCE, 780);
- ObjectSet("Price25_1", OBJPROP_YDISTANCE, 92);
- color Color25_0;
- if(iClose("NZDUSD", PERIOD_D1, 0) > iOpen("NZDUSD", PERIOD_D1, 0)) Color25_0 = LongColor;
- else if(iClose("NZDUSD", PERIOD_D1, 0) == iOpen("NZDUSD", PERIOD_D1, 0)) Color25_0 = SkyBlue;
- else if(iClose("NZDUSD", PERIOD_D1, 0) < iOpen("NZDUSD", PERIOD_D1, 0)) Color25_0 = ShortColor;
- int Price25_0 = (iHigh("NZDUSD", PERIOD_D1, 0) - iLow("NZDUSD", PERIOD_D1, 0))/Point2;
- ObjectCreate("Price25_0", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Price25_0",Price25_0, 9, "Arial Bold", Color25_0);
- ObjectSet("Price25_0", OBJPROP_CORNER, 0);
- ObjectSet("Price25_0", OBJPROP_XDISTANCE, 820);
- ObjectSet("Price25_0", OBJPROP_YDISTANCE, 92);
- ObjectCreate("Title6", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Title6","█████",9, "Arial Bold", SkyBlue);
- ObjectSet("Title6", OBJPROP_CORNER, 0);
- ObjectSet("Title6", OBJPROP_XDISTANCE, 860);
- ObjectSet("Title6", OBJPROP_YDISTANCE, 2);
- ObjectCreate("Day6_2", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Day6_2","前天", 9, "Arial Bold", SkyBlue);
- ObjectSet("Day6_2", OBJPROP_CORNER, 0);
- ObjectSet("Day6_2", OBJPROP_XDISTANCE, 910);
- ObjectSet("Day6_2", OBJPROP_YDISTANCE, 2);
- ObjectCreate("Day6_1", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Day6_1","昨天", 9, "Arial Bold", SkyBlue);
- ObjectSet("Day6_1", OBJPROP_CORNER, 0);
- ObjectSet("Day6_1", OBJPROP_XDISTANCE, 950);
- ObjectSet("Day6_1", OBJPROP_YDISTANCE, 2);
- ObjectCreate("Day6_0", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Day6_0","今天", 9, "Arial Bold", SkyBlue);
- ObjectSet("Day6_0", OBJPROP_CORNER, 0);
- ObjectSet("Day6_0", OBJPROP_XDISTANCE, 990);
- ObjectSet("Day6_0", OBJPROP_YDISTANCE, 2);
- ObjectCreate("Mon26", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Mon26","USDCAD", 9, "Arial Bold", SkyBlue);
- ObjectSet("Mon26", OBJPROP_CORNER, 0);
- ObjectSet("Mon26", OBJPROP_XDISTANCE, 860);
- ObjectSet("Mon26", OBJPROP_YDISTANCE, 20);
- color Color26_2;
- if(iClose("USDCAD", PERIOD_D1, 2) > iOpen("USDCAD", PERIOD_D1, 2)) Color26_2 = LongColor;
- else if(iClose("USDCAD", PERIOD_D1, 2) == iOpen("USDCAD", PERIOD_D1, 2)) Color26_2 = SkyBlue;
- else if(iClose("USDCAD", PERIOD_D1, 2) < iOpen("USDCAD", PERIOD_D1, 2)) Color26_2 = ShortColor;
- int Price26_2 = (iHigh("USDCAD", PERIOD_D1, 2) - iLow("USDCAD", PERIOD_D1, 2))/Point2;
- ObjectCreate("Price26_2", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Price26_2",Price26_2, 9, "Arial Bold", Color26_2);
- ObjectSet("Price26_2", OBJPROP_CORNER, 0);
- ObjectSet("Price26_2", OBJPROP_XDISTANCE, 910);
- ObjectSet("Price26_2", OBJPROP_YDISTANCE, 20);
- color Color26_1;
- if(iClose("USDCAD", PERIOD_D1, 1) > iOpen("USDCAD", PERIOD_D1, 1)) Color26_1 = LongColor;
- else if(iClose("USDCAD", PERIOD_D1, 1) == iOpen("USDCAD", PERIOD_D1, 1)) Color26_1 = SkyBlue;
- else if(iClose("USDCAD", PERIOD_D1, 1) < iOpen("USDCAD", PERIOD_D1, 1)) Color26_1 = ShortColor;
- int Price26_1 = (iHigh("USDCAD", PERIOD_D1, 1) - iLow("USDCAD", PERIOD_D1, 1))/Point2;
- ObjectCreate("Price26_1", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Price26_1",Price26_1, 9, "Arial Bold", Color26_1);
- ObjectSet("Price26_1", OBJPROP_CORNER, 0);
- ObjectSet("Price26_1", OBJPROP_XDISTANCE, 950);
- ObjectSet("Price26_1", OBJPROP_YDISTANCE, 20);
- color Color26_0;
- if(iClose("USDCAD", PERIOD_D1, 0) > iOpen("USDCAD", PERIOD_D1, 0)) Color26_0 = LongColor;
- else if(iClose("USDCAD", PERIOD_D1, 0) == iOpen("USDCAD", PERIOD_D1, 0)) Color26_0 = SkyBlue;
- else if(iClose("USDCAD", PERIOD_D1, 0) < iOpen("USDCAD", PERIOD_D1, 0)) Color26_0 = ShortColor;
- int Price26_0 = (iHigh("USDCAD", PERIOD_D1, 0) - iLow("USDCAD", PERIOD_D1, 0))/Point2;
- ObjectCreate("Price26_0", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Price26_0",Price26_0, 9, "Arial Bold", Color26_0);
- ObjectSet("Price26_0", OBJPROP_CORNER, 0);
- ObjectSet("Price26_0", OBJPROP_XDISTANCE, 990);
- ObjectSet("Price26_0", OBJPROP_YDISTANCE, 20);
- ObjectCreate("Mon27", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Mon27","USDCHF", 9, "Arial Bold", SkyBlue);
- ObjectSet("Mon27", OBJPROP_CORNER, 0);
- ObjectSet("Mon27", OBJPROP_XDISTANCE, 860);
- ObjectSet("Mon27", OBJPROP_YDISTANCE, 38);
- color Color27_2;
- if(iClose("USDCHF", PERIOD_D1, 2) > iOpen("USDCHF", PERIOD_D1, 2)) Color27_2 = LongColor;
- else if(iClose("USDCHF", PERIOD_D1, 2) == iOpen("USDCHF", PERIOD_D1, 2)) Color27_2 = SkyBlue;
- else if(iClose("USDCHF", PERIOD_D1, 2) < iOpen("USDCHF", PERIOD_D1, 2)) Color27_2 = ShortColor;
- int Price27_2 = (iHigh("USDCHF", PERIOD_D1, 2) - iLow("USDCHF", PERIOD_D1, 2))/Point2;
- ObjectCreate("Price27_2", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Price27_2",Price27_2, 9, "Arial Bold", Color27_2);
- ObjectSet("Price27_2", OBJPROP_CORNER, 0);
- ObjectSet("Price27_2", OBJPROP_XDISTANCE, 910);
- ObjectSet("Price27_2", OBJPROP_YDISTANCE, 38);
- color Color27_1;
- if(iClose("USDCHF", PERIOD_D1, 1) > iOpen("USDCHF", PERIOD_D1, 1)) Color27_1 = LongColor;
- else if(iClose("USDCHF", PERIOD_D1, 1) == iOpen("USDCHF", PERIOD_D1, 1)) Color27_1 = SkyBlue;
- else if(iClose("USDCHF", PERIOD_D1, 1) < iOpen("USDCHF", PERIOD_D1, 1)) Color27_1 = ShortColor;
- int Price27_1 = (iHigh("USDCHF", PERIOD_D1, 1) - iLow("USDCHF", PERIOD_D1, 1))/Point2;
- ObjectCreate("Price27_1", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Price27_1",Price27_1, 9, "Arial Bold", Color27_1);
- ObjectSet("Price27_1", OBJPROP_CORNER, 0);
- ObjectSet("Price27_1", OBJPROP_XDISTANCE, 950);
- ObjectSet("Price27_1", OBJPROP_YDISTANCE, 38);
- color Color27_0;
- if(iClose("USDCHF", PERIOD_D1, 0) > iOpen("USDCHF", PERIOD_D1, 0)) Color27_0 = LongColor;
- else if(iClose("USDCHF", PERIOD_D1, 0) == iOpen("USDCHF", PERIOD_D1, 0)) Color27_0 = SkyBlue;
- else if(iClose("USDCHF", PERIOD_D1, 0) < iOpen("USDCHF", PERIOD_D1, 0)) Color27_0 = ShortColor;
- int Price27_0 = (iHigh("USDCHF", PERIOD_D1, 0) - iLow("USDCHF", PERIOD_D1, 0))/Point2;
- ObjectCreate("Price27_0", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Price27_0",Price27_0, 9, "Arial Bold", Color27_0);
- ObjectSet("Price27_0", OBJPROP_CORNER, 0);
- ObjectSet("Price27_0", OBJPROP_XDISTANCE, 990);
- ObjectSet("Price27_0", OBJPROP_YDISTANCE, 38);
- ObjectCreate("Mon28", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Mon28","USDJPY", 9, "Arial Bold", SkyBlue);
- ObjectSet("Mon28", OBJPROP_CORNER, 0);
- ObjectSet("Mon28", OBJPROP_XDISTANCE, 860);
- ObjectSet("Mon28", OBJPROP_YDISTANCE, 56);
- color Color28_2;
- if(iClose("USDJPY", PERIOD_D1, 2) > iOpen("USDJPY", PERIOD_D1, 2)) Color28_2 = LongColor;
- else if(iClose("USDJPY", PERIOD_D1, 2) == iOpen("USDJPY", PERIOD_D1, 2)) Color28_2 = SkyBlue;
- else if(iClose("USDJPY", PERIOD_D1, 2) < iOpen("USDJPY", PERIOD_D1, 2)) Color28_2 = ShortColor;
- int Price28_2 = (iHigh("USDJPY", PERIOD_D1, 2) - iLow("USDJPY", PERIOD_D1, 2))/Point1;
- ObjectCreate("Price28_2", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Price28_2",Price28_2, 9, "Arial Bold", Color28_2);
- ObjectSet("Price28_2", OBJPROP_CORNER, 0);
- ObjectSet("Price28_2", OBJPROP_XDISTANCE, 910);
- ObjectSet("Price28_2", OBJPROP_YDISTANCE, 56);
- color Color28_1;
- if(iClose("USDJPY", PERIOD_D1, 1) > iOpen("USDJPY", PERIOD_D1, 1)) Color28_1 = LongColor;
- else if(iClose("USDJPY", PERIOD_D1, 1) == iOpen("USDJPY", PERIOD_D1, 1)) Color28_1 = SkyBlue;
- else if(iClose("USDJPY", PERIOD_D1, 1) < iOpen("USDJPY", PERIOD_D1, 1)) Color28_1 = ShortColor;
- int Price28_1 = (iHigh("USDJPY", PERIOD_D1, 1) - iLow("USDJPY", PERIOD_D1, 1))/Point1;
- ObjectCreate("Price28_1", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Price28_1",Price28_1, 9, "Arial Bold", Color28_1);
- ObjectSet("Price28_1", OBJPROP_CORNER, 0);
- ObjectSet("Price28_1", OBJPROP_XDISTANCE, 950);
- ObjectSet("Price28_1", OBJPROP_YDISTANCE, 56);
- color Color28_0;
- if(iClose("USDJPY", PERIOD_D1, 0) > iOpen("USDJPY", PERIOD_D1, 0)) Color28_0 = LongColor;
- else if(iClose("USDJPY", PERIOD_D1, 0) == iOpen("USDJPY", PERIOD_D1, 0)) Color28_0 = SkyBlue;
- else if(iClose("USDJPY", PERIOD_D1, 0) < iOpen("USDJPY", PERIOD_D1, 0)) Color28_0 = ShortColor;
- int Price28_0 = (iHigh("USDJPY", PERIOD_D1, 0) - iLow("USDJPY", PERIOD_D1, 0))/Point1;
- ObjectCreate("Price28_0", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Price28_0",Price28_0, 9, "Arial Bold", Color28_0);
- ObjectSet("Price28_0", OBJPROP_CORNER, 0);
- ObjectSet("Price28_0", OBJPROP_XDISTANCE, 990);
- ObjectSet("Price28_0", OBJPROP_YDISTANCE, 56);
- ObjectCreate("Mon29", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Mon29","XAGUSD", 9, "Arial Bold", SkyBlue);
- ObjectSet("Mon29", OBJPROP_CORNER, 0);
- ObjectSet("Mon29", OBJPROP_XDISTANCE, 860);
- ObjectSet("Mon29", OBJPROP_YDISTANCE, 74);
- color Color29_2;
- if(iClose("XAGUSD", PERIOD_D1, 2) > iOpen("XAGUSD", PERIOD_D1, 2)) Color29_2 = LongColor;
- else if(iClose("XAGUSD", PERIOD_D1, 2) == iOpen("XAGUSD", PERIOD_D1, 2)) Color29_2 = SkyBlue;
- else if(iClose("XAGUSD", PERIOD_D1, 2) < iOpen("XAGUSD", PERIOD_D1, 2)) Color29_2 = ShortColor;
- int Price29_2 = (iHigh("XAGUSD", PERIOD_D1, 2) - iLow("XAGUSD", PERIOD_D1, 2))/Point1;
- ObjectCreate("Price29_2", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Price29_2",Price29_2, 9, "Arial Bold", Color29_2);
- ObjectSet("Price29_2", OBJPROP_CORNER, 0);
- ObjectSet("Price29_2", OBJPROP_XDISTANCE, 910);
- ObjectSet("Price29_2", OBJPROP_YDISTANCE, 74);
- color Color29_1;
- if(iClose("XAGUSD", PERIOD_D1, 1) > iOpen("XAGUSD", PERIOD_D1, 1)) Color29_1 = LongColor;
- else if(iClose("XAGUSD", PERIOD_D1, 1) == iOpen("XAGUSD", PERIOD_D1, 1)) Color29_1 = SkyBlue;
- else if(iClose("XAGUSD", PERIOD_D1, 1) < iOpen("XAGUSD", PERIOD_D1, 1)) Color29_1 = ShortColor;
- int Price29_1 = (iHigh("XAGUSD", PERIOD_D1, 1) - iLow("XAGUSD", PERIOD_D1, 1))/Point1;
- ObjectCreate("Price29_1", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Price29_1",Price29_1, 9, "Arial Bold", Color29_1);
- ObjectSet("Price29_1", OBJPROP_CORNER, 0);
- ObjectSet("Price29_1", OBJPROP_XDISTANCE, 950);
- ObjectSet("Price29_1", OBJPROP_YDISTANCE, 74);
- color Color29_0;
- if(iClose("XAGUSD", PERIOD_D1, 0) > iOpen("XAGUSD", PERIOD_D1, 0)) Color29_0 = LongColor;
- else if(iClose("XAGUSD", PERIOD_D1, 0) == iOpen("XAGUSD", PERIOD_D1, 0)) Color29_0 = SkyBlue;
- else if(iClose("XAGUSD", PERIOD_D1, 0) < iOpen("XAGUSD", PERIOD_D1, 0)) Color29_0 = ShortColor;
- int Price29_0 = (iHigh("XAGUSD", PERIOD_D1, 0) - iLow("XAGUSD", PERIOD_D1, 0))/Point1;
- ObjectCreate("Price29_0", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Price29_0",Price29_0, 9, "Arial Bold", Color29_0);
- ObjectSet("Price29_0", OBJPROP_CORNER, 0);
- ObjectSet("Price29_0", OBJPROP_XDISTANCE, 990);
- ObjectSet("Price29_0", OBJPROP_YDISTANCE, 74);
- ObjectCreate("Mon30", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Mon30","XAUUSD", 9, "Arial Bold", SkyBlue);
- ObjectSet("Mon30", OBJPROP_CORNER, 0);
- ObjectSet("Mon30", OBJPROP_XDISTANCE, 860);
- ObjectSet("Mon30", OBJPROP_YDISTANCE, 92);
- color Color30_2;
- if(iClose("XAUUSD", PERIOD_D1, 2) > iOpen("XAUUSD", PERIOD_D1, 2)) Color30_2 = LongColor;
- else if(iClose("XAUUSD", PERIOD_D1, 2) == iOpen("XAUUSD", PERIOD_D1, 2)) Color30_2 = SkyBlue;
- else if(iClose("XAUUSD", PERIOD_D1, 2) < iOpen("XAUUSD", PERIOD_D1, 2)) Color30_2 = ShortColor;
- int Price30_2 = (iHigh("XAUUSD", PERIOD_D1, 2) - iLow("XAUUSD", PERIOD_D1, 2))/Point0;
- ObjectCreate("Price30_2", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Price30_2",Price30_2, 9, "Arial Bold", Color30_2);
- ObjectSet("Price30_2", OBJPROP_CORNER, 0);
- ObjectSet("Price30_2", OBJPROP_XDISTANCE, 910);
- ObjectSet("Price30_2", OBJPROP_YDISTANCE, 92);
- color Color30_1;
- if(iClose("XAUUSD", PERIOD_D1, 1) > iOpen("XAUUSD", PERIOD_D1, 1)) Color30_1 = LongColor;
- else if(iClose("XAUUSD", PERIOD_D1, 1) == iOpen("XAUUSD", PERIOD_D1, 1)) Color30_1 = SkyBlue;
- else if(iClose("XAUUSD", PERIOD_D1, 1) < iOpen("XAUUSD", PERIOD_D1, 1)) Color30_1 = ShortColor;
- int Price30_1 = (iHigh("XAUUSD", PERIOD_D1, 1) - iLow("XAUUSD", PERIOD_D1, 1))/Point0;
- ObjectCreate("Price30_1", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Price30_1",Price30_1, 9, "Arial Bold", Color30_1);
- ObjectSet("Price30_1", OBJPROP_CORNER, 0);
- ObjectSet("Price30_1", OBJPROP_XDISTANCE, 950);
- ObjectSet("Price30_1", OBJPROP_YDISTANCE, 92);
- color Color30_0;
- if(iClose("XAUUSD", PERIOD_D1, 0) > iOpen("XAUUSD", PERIOD_D1, 0)) Color30_0 = LongColor;
- else if(iClose("XAUUSD", PERIOD_D1, 0) == iOpen("XAUUSD", PERIOD_D1, 0)) Color30_0 = SkyBlue;
- else if(iClose("XAUUSD", PERIOD_D1, 0) < iOpen("XAUUSD", PERIOD_D1, 0)) Color30_0 = ShortColor;
- int Price30_0 = (iHigh("XAUUSD", PERIOD_D1, 0) - iLow("XAUUSD", PERIOD_D1, 0))/Point0;
- ObjectCreate("Price30_0", OBJ_LABEL, WindowFind("i"), 0, 0);
- ObjectSetText("Price30_0",Price30_0, 9, "Arial Bold", Color30_0);
- ObjectSet("Price30_0", OBJPROP_CORNER, 0);
- ObjectSet("Price30_0", OBJPROP_XDISTANCE, 990);
- ObjectSet("Price30_0", OBJPROP_YDISTANCE, 92);
- return(0);
- }
复制代码 |