Chart EURUSD, D1, 2016.07.19 07:33 UTC, Trading Point Of Financial Instruments Ltd, MetaTrader 4, Demo รายละเอียด: แต่ละคนซื้อและขายจะถูกทำเครื่องหมายด้วยลูกศรที่จะแสดงทิศทางที่ถูกต้องที่จะช่วยให้คุณตัดสินใจเมื่อเวลาที่เหมาะสมในการซื้อหรือขาย ลูกศรสีแดงที่จะขาย blue arrow ซื้อ

iFractals 4all TF ได้พัฒนามาจาก Fractals จาก Mt4 ให้ดูสมุทขึ้น โดยทำให้เปนลูกศรชี้ขึ้นและลง ตามการสวิงของกราฟ อิดี้้นี้ เหมาะทั้งการ สเเคปปิ้งระยะสั้น 5 นาที 15 นาที และเล่นระยะกลางๆ 30 นาที ถึง 4 H 

แอดมินแนะนำครับ ดูทุกๆทามเฟรมดีสุดครับ ยิ่งถ้าเทรดเดอร์มีความรู้เรื่อง Price Action หรือ Pin Bar จะยิ่งดีครับ เพราะอินดี้นี้จะเปนคำตอบในการช่วยยืนยันเป้าหมายในการเข้าออร์เดอร์นั้นเอง
Image result for fractals mt4

รูปตัวอย่าง

Chart EURUSD, D1, 2016.07.19 07:33 UTC, Trading Point Of Financial Instruments Ltd, MetaTrader 4, Demo
ดาวโหลดไฟล์ifractals_4all_tf.mq4 


โค๊ด อินดิเคเอตร์

//+------------------------------------------------------------------+
//|                                   Indicator: iFractals 4all TF.mq4 |
//|                                       Created with EABuilder.com |
//|                                             http://eabuilder.com |
//+------------------------------------------------------------------+
#property copyright "Created with EABuilder.com"
#property link      "http://eabuilder.com"
#property version   "1.00"
#property description ""

#include 
#include 

//--- indicator settings
#property indicator_chart_window
#property indicator_buffers 2

#property indicator_type1 DRAW_ARROW
#property indicator_width1 0
#property indicator_color1 0xFFAA00
#property indicator_label1 "Buy"

#property indicator_type2 DRAW_ARROW
#property indicator_width2 0
#property indicator_color2 0x0000FF
#property indicator_label2 "Sell"

//--- indicator buffers
double Buffer1[];
double Buffer2[];

extern int Shift = 0;
double myPoint; //initialized in OnInit

void myAlert(string type, string message)
  {
   if(type == "print")
      Print(message);
   else if(type == "error")
     {
      Print(type+" | Up Down Signal1 @ "+Symbol()+","+Period()+" | "+message);
     }
   else if(type == "order")
     {
     }
   else if(type == "modify")
     {
     }
  }

//+------------------------------------------------------------------+
//| Custom indicator initialization function                         |
//+------------------------------------------------------------------+
int OnInit()
  {   
   IndicatorBuffers(2);
   SetIndexBuffer(0, Buffer1);
   SetIndexEmptyValue(00);
   SetIndexArrow(0225);
   SetIndexBuffer(1, Buffer2);
   SetIndexEmptyValue(10);
   SetIndexArrow(1226);
   //initialize myPoint
   myPoint = Point();
   if(Digits() == 5 || Digits() == 3)
     {
      myPoint *= 10;
     }
   return(INIT_SUCCEEDED);
  }

//+------------------------------------------------------------------+
//| Custom indicator iteration function                              |
//+------------------------------------------------------------------+
int OnCalculate(const int rates_total,
                const int prev_calculated,
                const datetime& time[],
                const double& open[],
                const double& high[],
                const double& low[],
                const double& close[],
                const long& tick_volume[],
                const long& volume[],
                const int& spread[])
  {
   int limit = rates_total - prev_calculated;
   //--- counting from 0 to rates_total
   ArraySetAsSeries(Buffer1, true);
   ArraySetAsSeries(Buffer2, true);
   //--- initial zero
   if(prev_calculated < 1)
     {
      ArrayInitialize(Buffer1, 0);
      ArrayInitialize(Buffer2, 0);
     }
   else
      limit++;
   
   //--- main loop
   for(int i = limit-1; i >= 0; i--)
     {
      if (i >= MathMin(5000-1, rates_total-1-50)) continue//omit some old rates to prevent "Array out of range" or slow calculation   
      //Indicator Buffer 1
      if(Open[i] > iFractals(NULLPERIOD_CURRENTMODE_LOWER, Shift+i) //Candlestick Open > Fractals
      )
        {
         Buffer1[i] = iFractals(NULLPERIOD_CURRENTMODE_LOWER, Shift+i); //Set indicator value at Fractals
        }
      else
        {
         Buffer1[i] = 0;
        }
      //Indicator Buffer 2
      if(Open[i] < iFractals(NULLPERIOD_CURRENTMODE_UPPER, Shift+i) //Candlestick Open < Fractals
      )
        {
         Buffer2[i] = iFractals(NULLPERIOD_CURRENTMODE_UPPER, Shift+i); //Set indicator value at Fractals
        }
      else
        {
         Buffer2[i] = 0;
        }
     }
   return(rates_total);
  }
//+------------------------------------------------------------------+

ความคิดเห็น

เรื่องราวที่น่าสนใจ