Daily Open Line Indicator For MT5

Daily Open Line Indicator For MT5

Table Of Contents:

  1. Daily Open Line Indicator For MT5
  2. การติดตั้ง Daily Open Line Indicator For MT5
  3. พารามิเตอร์ของ Daily Open Line Indicator For MT5
  4. บัฟเฟอร์ของ Daily Open Line Indicator For MT5
  5. ส่วนหลักของรหัส

Daily Open Line Indicator For MT5 จะลากเส้นในแนวนอนซึ่งเริ่มต้นที่จุดเริ่มต้นของวัน ระดับราคาของบรรทัดเท่ากับราคาเปิดของวัน คุณควรใช้ตัวบ่งชี้ที่ H1 และต่ำกว่า

FREE Daily Open Line Indicator

Download the FREE Daily Open Line Indicator for MT5.

To receive my email 100% sure: 
Put my email on your whitelist!

 

Partially Automated Trading Besides Your Day Job

Alerts In Real-Time When Divergences Occur

 

การติดตั้ง Daily Open Line Indicator For MT5

หลังจากคุณดาวน์โหลดตัวบ่งชี้ผ่านแบบฟอร์มด้านบนคุณจะต้องทำการแตกไฟล์ zip จากนั้นคุณต้องคัดลอกไฟล์ Daily open line.mq5 ลงในโฟลเดอร์ MQL5Indicators ของการติดตั้ง MT5 ของคุณ หลังจากนั้นโปรดรีสตาร์ท MT5 จากนั้นคุณจะเห็นตัวบ่งชี้ในรายการตัวบ่งชี้

พารามิเตอร์ของ Daily Open Line Indicator For MT5

กระบวนการ Daily Open Line Indicator For MT5 มีพารามิเตอร์ 1 เพื่อกำหนดค่า

input int TimeShift = 0; // Time shift (in hours) 

บัฟเฟอร์ของ Daily Open Line Indicator For MT5

Daily Open Line Indicator For MT5 ให้บัฟเฟอร์ 1

int OnInit() { SetIndexBuffer(0,openLine,INDICATOR_DATA); return(0); } 

ส่วนหลักของรหัส

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[]) {    if (Bars(_Symbol,_Period) lt rates_total) return(-1);       for (int i=(int)MathMax(prev_calculated-1,0); i lt rates_total && !IsStopped(); i++)       {          string stime = TimeToString(time[i]+TimeShift*3600,TIME_DATE);             openLine[i] = (i gt 0) ? (TimeToString(time[i-1]+TimeShift*3600,TIME_DATE)==stime) ? openLine[i-1] : open[i] : open[i];       }    return(rates_total); } 

 

About Me

I'm Mike Semlitsch the owner of PerfectTrendSystem.com. My trading career started in 2007. Since 2013 I have helped thousands of traders to take their trading to the next level. Many of them are now constantly profitable traders. 

The following performance was achieved by me while trading live in front of hundreds of my clients:

Connect With Me:  

Results From 5 Months!
This service starts soon! Be the first who get's notified when it begins!

This FREE Indicator Can Transform
Your Trading!

FREE Indicator + Telegram Group


Request the Ultimate Double Top/Bottom Indicator which is used by 10,000+ traders.