Clock Displaying Time In Main Chart – ਫਾਰੇਕਸ ਸੂਚਕ

0
(0)
ਨਾਮ:
clock displaying time in main chart
ਲੇਖਕ: deVries (2012.09.24 00:56)
ਡਾਊਨਲੋਡ ਕੀਤਾ: 3290
ਡਾਊਨਲੋਡ ਕਰੋ:
Clock Displaying Time In Main Chart - Forex Indicator 1
Clock.mq4 (2.4 ਕੇ.ਬੀ) ਦੇਖੋ
Clock Displaying Time In Main Chart - Forex Indicator 2The Clock indicator is placed 5 times on chart to show how you can use it on chart

It is not possible to place two clocks on your chart having the same time....

Although we have in Code_Base other clock indicators, it was still that in

the Online Library of the MetaEditor I did not find a simple Clock-indicator like this inside

ਸਤਿਕਾਰ,

Tjipke

khanman:
can you make it in sub window chart?

ਹਾਂ, I can...

//+------------------------------------------------------------------+
//|                                                       Clock2.mq4 |
//|                                ਕਾਪੀਰਾਈਟ © 2012, Tjipke de Vries |
//|                                                                  |
//+------------------------------------------------------------------+
#ਸੰਪਤੀ ਕਾਪੀਰਾਈਟ "ਕਾਪੀਰਾਈਟ © 2012, Tjipke de Vries"
#ਜਾਇਦਾਦ ਲਿੰਕ      ""

#property indicator_chart_window

extern string Clocktext = "ਸਰਵਰ";
extern int Timezone.from.Server = 0;
extern int ClockSize = 14;
string FontType = "Verdana";
extern color ClockColor = Blue;
extern int ClockCorner = 0;
extern int yLine = 20;
extern int xCol = 10;
extern int window = 0;

//+------------------------------------------------------------------+
//| Custom indicator initialization function                         |
//+------------------------------------------------------------------+
int init()
  {
//----
   ਜੇਕਰ(ClockCorner>=4)
      { 
       ਜਦਕਿ (ClockCorner>=4){ClockCorner=ClockCorner-4;}
      } 
//----
   ਵਾਪਸੀ(0);
  }
//+------------------------------------------------------------------+
//| Custom indicator deinitialization function                       |
//+------------------------------------------------------------------+
int deinit()
  {
//----
   ObjectDelete("Clock"+DoubleToStr(Timezone.from.Server,0));
//----
   ਵਾਪਸੀ(0);
  }
//+------------------------------------------------------------------+
//| Custom indicator iteration function                              |
//+------------------------------------------------------------------+
int start()
  {
   int    counted_bars=IndicatorCounted();
//----

   DisplayText("Clock"+DoubleToStr(Timezone.from.Server,0), yLine, xCol, Clocktext+"  "+ 
   TimeToStr((TimeCurrent()+ ((  0 - Timezone.from.Server) * 3600)), TIME_SECONDS),ClockSize,FontType, ClockColor);   
//----
   ਵਾਪਸੀ(0);
  }
//+------------------------------------------------------------------+
void DisplayText(string eName, int eYD, int eXD, string eText, int eSize, string eFont, color eColor) {
   ObjectCreate(eName, OBJ_LABEL, window, 0, 0);
   ObjectSet(eName, OBJPROP_CORNER, ClockCorner);
   ObjectSet(eName, OBJPROP_XDISTANCE, eXD);
   ObjectSet(eName, OBJPROP_YDISTANCE, eYD);
   ObjectSetText(eName, eText, eSize, eFont, eColor);
}
//+------------------------------------------------------------------+

choose for window number of subwindow

0 main chart

1 next sub window....

Clock Displaying Time In Main Chart - Forex Indicator 3

ਇਹ ਪੋਸਟ ਕਿੰਨੀ ਲਾਭਦਾਇਕ ਸੀ?

ਇਸ ਨੂੰ ਦਰਜਾ ਦੇਣ ਲਈ ਇੱਕ ਤਾਰੇ 'ਤੇ ਕਲਿੱਕ ਕਰੋ!

ਔਸਤ ਰੇਟਿੰਗ 0 / 5. ਵੋਟਾਂ ਦੀ ਗਿਣਤੀ: 0

ਹੁਣ ਤੱਕ ਕੋਈ ਵੋਟ ਨਹੀਂ ਹੈ! ਇਸ ਪੋਸਟ ਨੂੰ ਰੇਟ ਕਰਨ ਵਾਲੇ ਪਹਿਲੇ ਬਣੋ.

ਸਾਨੂੰ ਅਫ਼ਸੋਸ ਹੈ ਕਿ ਇਹ ਪੋਸਟ ਤੁਹਾਡੇ ਲਈ ਉਪਯੋਗੀ ਨਹੀਂ ਸੀ!

ਆਓ ਇਸ ਪੋਸਟ ਨੂੰ ਸੁਧਾਰੀਏ!

ਸਾਨੂੰ ਦੱਸੋ ਕਿ ਅਸੀਂ ਇਸ ਪੋਸਟ ਨੂੰ ਕਿਵੇਂ ਸੁਧਾਰ ਸਕਦੇ ਹਾਂ?



ਲੇਖਕ: ਫਾਰੇਕਸ ਵਿਕੀ ਟੀਮ
ਅਸੀਂ ਉੱਚ ਤਜ਼ਰਬੇਕਾਰ ਫਾਰੇਕਸ ਵਪਾਰੀਆਂ ਦੀ ਇੱਕ ਟੀਮ ਹਾਂ [2000-2023] ਜੋ ਸਾਡੀਆਂ ਸ਼ਰਤਾਂ 'ਤੇ ਜ਼ਿੰਦਗੀ ਜਿਊਣ ਲਈ ਸਮਰਪਿਤ ਹਨ. ਸਾਡਾ ਮੁੱਖ ਉਦੇਸ਼ ਵਿੱਤੀ ਸੁਤੰਤਰਤਾ ਅਤੇ ਆਜ਼ਾਦੀ ਪ੍ਰਾਪਤ ਕਰਨਾ ਹੈ, ਅਤੇ ਅਸੀਂ ਸਵੈ-ਸਿੱਖਿਆ ਦਾ ਪਿੱਛਾ ਕੀਤਾ ਹੈ ਅਤੇ ਇੱਕ ਸਵੈ-ਟਿਕਾਊ ਜੀਵਨ ਸ਼ੈਲੀ ਨੂੰ ਪ੍ਰਾਪਤ ਕਰਨ ਦੇ ਸਾਡੇ ਸਾਧਨ ਵਜੋਂ ਫੋਰੈਕਸ ਬਜ਼ਾਰ ਵਿੱਚ ਵਿਆਪਕ ਅਨੁਭਵ ਪ੍ਰਾਪਤ ਕੀਤਾ ਹੈ।.