Author: Copyright 2010, Rosh
Price Data Components
Indicators Used
Indicator of the average true rangeBill Williams Alligator
Miscellaneous
It sends emails
0 Views
0 Downloads
0 Favorites
NRTR_Gator
ÿþ//+------------------------------------------------------------------+

//|                                                   NRTR_Gator.mq5 |

//|                                             Copyright 2010, Rosh |

//|                           http://forexsystems.ru/phpBB/index.php |

//+------------------------------------------------------------------+

//---- 02B>@AB2> 8=48:0B>@0

#property copyright "Copyright 2010, Rosh"

//---- AAK;:0 =0 A09B 02B>@0

#property link      "http://forexsystems.ru/phpBB/index.php"

//---- =><5@ 25@A88 8=48:0B>@0

#property version   "2.00"

//---- >B@8A>2:0 8=48:0B>@0 2 3;02=>< >:=5

#property indicator_chart_window 

//---- 4;O @0AGQB0 8 >B@8A>2:8 8=48:0B>@0 8A?>;L7>20=> 452OBL 1CD5@>2

#property indicator_buffers 9

//---- 8A?>;L7>20=> ?OBL 3@0D8G5A:8E ?>AB@>5=89

#property indicator_plots   5

//+----------------------------------------------+

//|  0@0<5B@K >B@8A>2:8 <54256L53> 8=48:0B>@0   |

//+----------------------------------------------+

//---- >B@8A>2:0 8=48:0B>@0 1 2 2845 A8<2>;0

#property indicator_type1   DRAW_ARROW

//---- 2 :0G5AB25 F25B0 <54256L59 ;8=88 8=48:0B>@0 8A?>;L7>20= :@0A=K9 F25B

#property indicator_color1  clrTomato

//---- B>;I8=0 ;8=88 8=48:0B>@0 1 @02=0 1

#property indicator_width1  1

//---- >B>1@065=85 1KG59 <5B:8 8=48:0B>@0

#property indicator_label1  "8=8O ?@>4068"

//+----------------------------------------------+

//|  0@0<5B@K >B@8A>2:8 1KGL3> 8=48:0B>@0       |

//+----------------------------------------------+

//---- >B@8A>2:0 8=48:0B>@0 2 2 2845 A8<2>;0

#property indicator_type2   DRAW_ARROW

//---- 2 :0G5AB25 F25B0 1KG59 ;8=88 8=48:0B>@0 8A?>;L7>20= 3>;C1>9 F25B

#property indicator_color2  clrDeepSkyBlue

//---- B>;I8=0 ;8=88 8=48:0B>@0 2 @02=0 1

#property indicator_width2  1

//---- >B>1@065=85 <54256L59 <5B:8 8=48:0B>@0

#property indicator_label2 "8=8O ?>:C?:8"

//+----------------------------------------------+

//|  0@0<5B@K >B@8A>2:8 1KGL3> 8=48:0B>@0       |

//+----------------------------------------------+

//---- >B@8A>2:0 8=48:0B>@0 3 2 2845 A8<2>;0

#property indicator_type3 DRAW_ARROW

//---- 2 :0G5AB25 F25B0 1KGL59 ;8=88 8=48:0B>@0 8A?>;L7>20= 3>;C1>9 F25B

#property indicator_color3 clrDeepSkyBlue

//---- B>;I8=0 ;8=88 8=48:0B>@0 3 @02=0 1

#property indicator_width3  1

//---- >B>1@065=85 1KG59 <5B:8 8=48:0B>@0

#property indicator_label3  ">B>;>:"

//+----------------------------------------------+

//|  0@0<5B@K >B@8A>2:8 <54256L53> 8=48:0B>@0   |

//+----------------------------------------------+

//---- >B@8A>2:0 8=48:0B>@0 4 2 2845 A8<2>;0

#property indicator_type4 DRAW_ARROW

//---- 2 :0G5AB25 F25B0 <54256L59 ;8=88 8=48:0B>@0 8A?>;L7>20= @>7>2K9 F25B

#property indicator_color4 clrTomato

//---- B>;I8=0 ;8=88 8=48:0B>@0 4 @02=0 1

#property indicator_width4  1

//---- >B>1@065=85 <54256L59 <5B:8 8=48:0B>@0

#property indicator_label4 ">;"



//+----------------------------------------------+

//|  0@0<5B@K >B@8A>2:8 1KGL3> 8=48:0B>@0       |

//+----------------------------------------------+

//---- >B@8A>2:0 8=48:0B>@0 5 2 2845 A8<2>;0

#property indicator_type5 DRAW_COLOR_HISTOGRAM2

//---- 2 :0G5AB25 F25B>2 8=48:0B>@0 8A?>;L7>20=K 75;Q=K9 8 :@0A=K9 F25B0

#property indicator_color5 clrGreen,clrRed 

//---- B>;I8=0 ;8=88 8=48:0B>@0 5 @02=0 1

#property indicator_width5  1

//---- >B>1@065=85 1KG59 <5B:8 8=48:0B>@0

#property indicator_label5  "0@"

//+----------------------------------------------+

//|  >1JO2;5=85 :>=AB0=B                         |

//+----------------------------------------------+

#define RESET 0                        // >=AB0=B0 4;O 2>72@0B0 B5@<8=0;C :><0=4K =0 ?5@5AG5B 8=48:0B>@0

//+----------------------------------------------+

//| E>4=K5 ?0@0<5B@K 8=48:0B>@0                 |

//+----------------------------------------------+

input int    PerATR=40;

input double kATR=2.0;

input bool   useSendMail=false;

//+----------------------------------------------+

//---- >1JO2;5=85 48=0<8G5A:8E <0AA82>2, :>B>@K5 1C4CB 2 

// 40;L=59H5< 8A?>;L7>20=K 2 :0G5AB25 8=48:0B>@=KE 1CD5@>2

double SellBuffer[];

double BuyBuffer[];

double Ceil[];

double Floor[];

double Trend[];

double ATR[];  

double UpBar[];

double DownBar[];

double ColorBar[];

double GatorTrend[];

//---- 1JO2;5=85 F5;KE ?5@5<5==KE =0G0;0 >BAGQB0 40==KE

int min_rates_total;

//---- >1JO2;5=85 ?5@5<5==>9 4;O E@0=5=8O E5=4;0 8=48:0B>@0

int ATR_Handle, Alligator_Handle;

int sm_Bars, supervizerShift,SymbolSpread,GatorBars;

//+------------------------------------------------------------------+

//| Custom indicator initialization function                         |

//+------------------------------------------------------------------+  

int OnInit()

  {

//---- =8F80;870F8O ?5@5<5==KE =0G0;0 >BAGQB0 40==KE

   min_rates_total=int(PerATR)+1;

   

//---- ?@52@0I5=85 48=0<8G5A:>3> <0AA820 2 8=48:0B>@=K9 1CD5@

   SetIndexBuffer(0,SellBuffer,INDICATOR_DATA);

//---- >ACI5AB2;5=85 A42830 =0G0;0 >BAGQB0 >B@8A>2:8 8=48:0B>@0 1

   PlotIndexSetInteger(0,PLOT_DRAW_BEGIN,min_rates_total);

//---- A8<2>; 4;O 8=48:0B>@0

   PlotIndexSetInteger(0,PLOT_ARROW,251);

//---- 8=45:A0F8O M;5<5=B>2 2 1CD5@5 :0: 2 B09<A5@88

   ArraySetAsSeries(SellBuffer,true);



//---- ?@52@0I5=85 48=0<8G5A:>3> <0AA820 2 8=48:0B>@=K9 1CD5@

   SetIndexBuffer(1,BuyBuffer,INDICATOR_DATA);

//---- >ACI5AB2;5=85 A42830 =0G0;0 >BAGQB0 >B@8A>2:8 8=48:0B>@0 2

   PlotIndexSetInteger(1,PLOT_DRAW_BEGIN,min_rates_total);

//---- A8<2>; 4;O 8=48:0B>@0

   PlotIndexSetInteger(1,PLOT_ARROW,251);

//---- 8=45:A0F8O M;5<5=B>2 2 1CD5@5 :0: 2 B09<A5@88

   ArraySetAsSeries(BuyBuffer,true);



//---- ?@52@0I5=85 48=0<8G5A:>3> <0AA820 2 8=48:0B>@=K9 1CD5@

   SetIndexBuffer(2,Ceil,INDICATOR_DATA);

//---- >ACI5AB2;5=85 A42830 =0G0;0 >BAGQB0 >B@8A>2:8 8=48:0B>@0 3

   PlotIndexSetInteger(2,PLOT_DRAW_BEGIN,min_rates_total);

//---- A8<2>; 4;O 8=48:0B>@0

   PlotIndexSetInteger(2,PLOT_ARROW,159);

//---- 8=45:A0F8O M;5<5=B>2 2 1CD5@5 :0: 2 B09<A5@88

   ArraySetAsSeries(Ceil,true);



//---- ?@52@0I5=85 48=0<8G5A:>3> <0AA820 2 8=48:0B>@=K9 1CD5@

   SetIndexBuffer(3,Floor,INDICATOR_DATA);

//---- >ACI5AB2;5=85 A42830 =0G0;0 >BAGQB0 >B@8A>2:8 8=48:0B>@0 4

   PlotIndexSetInteger(3,PLOT_DRAW_BEGIN,min_rates_total);

//---- A8<2>; 4;O 8=48:0B>@0

   PlotIndexSetInteger(3,PLOT_ARROW,159);

//---- 8=45:A0F8O M;5<5=B>2 2 1CD5@5 :0: 2 B09<A5@88

   ArraySetAsSeries(Floor,true);

   

//---- ?@52@0I5=85 48=0<8G5A:>3> <0AA820 2 8=48:0B>@=K9 1CD5@

   SetIndexBuffer(4,UpBar,INDICATOR_DATA);

//---- >ACI5AB2;5=85 A42830 =0G0;0 >BAGQB0 >B@8A>2:8 8=48:0B>@0 3

   PlotIndexSetInteger(4,PLOT_DRAW_BEGIN,min_rates_total);

//---- 8=45:A0F8O M;5<5=B>2 2 1CD5@5 :0: 2 B09<A5@88

   ArraySetAsSeries(UpBar,true);



//---- ?@52@0I5=85 48=0<8G5A:>3> <0AA820 2 8=48:0B>@=K9 1CD5@

   SetIndexBuffer(5,DownBar,INDICATOR_DATA);

//---- 8=45:A0F8O M;5<5=B>2 2 1CD5@5 :0: 2 B09<A5@88

   ArraySetAsSeries(DownBar,true);  

   

//---- ?@52@0I5=85 48=0<8G5A:>3> <0AA820 2 8=48:0B>@=K9 1CD5@

   SetIndexBuffer(6,ColorBar,INDICATOR_COLOR_INDEX);

//---- 8=45:A0F8O M;5<5=B>2 2 1CD5@5 :0: 2 B09<A5@88

   ArraySetAsSeries(ColorBar,true); 

   



//---- ?@52@0I5=85 48=0<8G5A:>3> <0AA820 2 8=48:0B>@=K9 1CD5@

   SetIndexBuffer(7,Trend,INDICATOR_CALCULATIONS);

//---- 8=45:A0F8O M;5<5=B>2 2 1CD5@5 :0: 2 B09<A5@88

   ArraySetAsSeries(Trend,true);

   

//---- ?@52@0I5=85 48=0<8G5A:>3> <0AA820 2 8=48:0B>@=K9 1CD5@

   SetIndexBuffer(8,GatorTrend,INDICATOR_CALCULATIONS);

//---- 8=45:A0F8O M;5<5=B>2 2 1CD5@5 :0: 2 B09<A5@88

   ArraySetAsSeries(GatorTrend,true);



//---- ?@52@0I5=85 48=0<8G5A:>3> <0AA820 2 8=48:0B>@=K9 1CD5@

   SetIndexBuffer(9,ATR,INDICATOR_DATA);

//---- 8=45:A0F8O M;5<5=B>2 2 1CD5@5 :0: 2 B09<A5@88

   ArraySetAsSeries(ATR,true);



//---- 8=8F80;870F88 ?5@5<5==>9 4;O :>@>B:>3> 8<5=8 8=48:0B>@0

//--- A>740=85 8<5=8 4;O >B>1@065=8O 2 >B45;L=>< ?>4>:=5 8 2> 2A?;K20NI59 ?>4A:07:5

   IndicatorSetString(INDICATOR_SHORTNAME,"NRTR_Gator");

//--- >?@545;5=85 B>G=>AB8 >B>1@065=8O 7=0G5=89 8=48:0B>@0

   IndicatorSetInteger(INDICATOR_DIGITS,_Digits);



//---- >;CG5=85 E5=4;0 8=48:0B>@0 ATR

   ATR_Handle=iATR(NULL,0,PerATR);

   if(ATR_Handle==INVALID_HANDLE)

     {

      Print(" 5 C40;>AL ?>;CG8BL E5=4; 8=48:0B>@0 ATR");

      return(INIT_FAILED);

     }

     

//---- >;CG5=85 E5=4;0 8=48:0B>@0 Alligator

   Alligator_Handle=iAlligator(NULL,0,13,8,8,5,5,3,MODE_SMMA,PRICE_MEDIAN);

   if(Alligator_Handle==INVALID_HANDLE)

     {

      Print(" 5 C40;>AL ?>;CG8BL E5=4; 8=48:0B>@0 Alligator");

      return(INIT_FAILED);

     }

//--- 7025@H5=85 8=8F80;870F88

   return(INIT_SUCCEEDED);

  }

//+------------------------------------------------------------------+

//| ?@>18B85 25@E0 #B@5=40                                        |

//+------------------------------------------------------------------+

bool BreakDown(int shift,const double &Close[])

  {

//----

   if(Close[shift]>SellBuffer[shift+1]) return(true);

//----

   return(false);

  }

//+------------------------------------------------------------------+

//| ?@>18B85 4=0 B@5=40                                            |

//+------------------------------------------------------------------+

bool BreakUp(int shift,const double &Close[])

  {

//----

   if(Close[shift]<BuyBuffer[shift+1]) return(true);

//----

   return(false);

  }

//+------------------------------------------------------------------+

//| 27OB85 =>2>3> <8=8<C<0 ?> #B@5=4C                             |

//+------------------------------------------------------------------+

bool BreakFloor(int shift,const double &High[])

  {

//----

   if(High[shift]<Floor[shift+1]) return(true);

//----  

   return(false);

  }

//+------------------------------------------------------------------+

//| 27OB85 =>2>3> <0:A8<C<0 ?> B@5=4C                              |

//+------------------------------------------------------------------+

bool BreakCeil(int shift,const double &Low[])

  {

//----

   if(Low[shift]>Ceil[shift+1]) return(true);

//----

   return(false);

  }

//+------------------------------------------------------------------+

//| >?@545;5=85 ?@54K4CI53> B@5=40                                   |

//+------------------------------------------------------------------+

bool Uptrend(int shift)

  {

//----

//Print("Trend=",Trend[shift+1]);

   bool result=false;

   if(Trend[shift + 1] ==  1) result = true;

   if(Trend[shift + 1] == -1) result = false;

   if(Trend[shift+ 1] !=  1 && Trend[shift + 1] != -1)

      Print("=8<0=85! "@5=4 =5 >?@545;5=, B0:>3> 1KBL =5 <>65B. 0@ >B :>=F0 ",(Bars(NULL,0)-shift));

//----

   return(result);

  }

//+------------------------------------------------------------------+

//| CAB0=>2:0 =>2>3> C@>2=O ?>B>;:0                                  |

//+------------------------------------------------------------------+

void NewCeil(int shift,const double &Close[])

  {

//----

   Ceil[shift]=Close[shift];

   Floor[shift]=0.0;

//----

  }

//+------------------------------------------------------------------+

//| CAB0=>2:0 =>2>3> C@>2=O ?>;0                                     |

//+------------------------------------------------------------------+

void NewFloor(int shift,const double &Close[])

  {

//----

   Floor[shift]= Close[shift];

   Ceil[shift] = 0.0;

//----

  }

//+------------------------------------------------------------------+

//| CAB0=>2:0 C@>2=O ?>445@6:8 B@5=40                              |

//+------------------------------------------------------------------+

void SetBuyBuffer(int shift,const double &Close[])

  {

//----

   BuyBuffer[shift]=Close[shift]-kATR*ATR[shift];

   SellBuffer[shift]=0.0;

//----

  }

//+------------------------------------------------------------------+

//| CAB0=>2:0 C@>2=O ?>445@6:8 #B@5=40                            |

//+------------------------------------------------------------------+

void SetSellBuffer(int shift,const double &Close[])

  {

//----

   SellBuffer[shift]= Close[shift]+kATR * ATR[shift];

   BuyBuffer[shift] = 0.0;

//----

  }

//+------------------------------------------------------------------+

//| @525@A B@5=40 8 CAB0=>2:0 =>2KE C@>2=59                          |

//+------------------------------------------------------------------+

void NewTrend(int shift,const double &Close[])

  {

//----

   if(Trend[shift+1]==1)

     {

      Trend[shift]=-1;

      NewFloor(shift,Close);

      SetSellBuffer(shift,Close);

     }

   else

     {

      Trend[shift]=1;

      NewCeil(shift,Close);

      SetBuyBuffer(shift,Close);

     }



   if(Trend[shift+1]!=1 && Trend[shift+1]!=-1)

      Print("=8<0=85! "@5=4 =5 >?@545;5=, B0:>3> 1KBL =5 <>65B");

//----

  }

//+------------------------------------------------------------------+

//| ?@>4>;65=85 B@5=40                                               |

//+------------------------------------------------------------------+

void CopyLastValues(int shift)

  {

//----

   SellBuffer[shift]= SellBuffer[shift+1];

   BuyBuffer[shift] = BuyBuffer[shift+1];

   Ceil[shift]=Ceil[shift+1];

   Floor[shift] = Floor[shift + 1];

   Trend[shift] = Trend[shift + 1];

//----

  }

//+------------------------------------------------------------------+

//| ?@>4>;65=85 B@5=40                                               |

//+------------------------------------------------------------------+

void SendSMS(int shift)

  {

//----

   if(IsNewBar() && Trend[shift+1] *Trend[shift+2]==-1 && shift==0 && useSendMail) // A<5=8;AO B@5=4

     {

      if(Trend[shift+1]==1)

        SendMail("NRTR ",Symbol()+" "+EnumToString(Period())+" @0725@=C;AO 225@E, Ask = "+DoubleToString(SymbolInfoDouble(NULL,SYMBOL_ASK),_Digits));

      else                 

        SendMail("NRTR ",Symbol()+" "+EnumToString(Period())+" @0725@=C;AO 2=87, Bid = " +DoubleToString(SymbolInfoDouble(NULL,SYMBOL_BID),_Digits));

     }



//----

  }

//+------------------------------------------------------------------+

//| IsNewBar() function                                              |

//+------------------------------------------------------------------+

bool IsNewBar()

  {

//----

   static datetime Told;

   datetime Tnew[1];



   CopyTime(Symbol(),0,0,1,Tnew);

   if(Tnew[0]!=Told)

     {

      Told=Tnew[0];

      return(true);

     }

//----

   return(false);

  }

//+------------------------------------------------------------------+

//| Custom indicator iteration function                              |

//+------------------------------------------------------------------+

int OnCalculate(

                const int rates_total,    // :>;8G5AB2> 8AB>@88 2 10@0E =0 B5:CI5< B8:5

                const int prev_calculated,// :>;8G5AB2> 8AB>@88 2 10@0E =0 ?@54K4CI5< B8:5

                const datetime &time[],

                const double &open[],

                const double& high[],     // F5=>2>9 <0AA82 <0:A8<C<>2 F5=K 4;O @0AGQB0 8=48:0B>@0

                const double& low[],      // F5=>2>9 <0AA82 <8=8<C<>2  F5=K 4;O @0AGQB0 8=48:0B>@0

                const double &close[],

                const long &tick_volume[],

                const long &volume[],

                const int &spread[]

                )

  { 

   

//--- ?@>25@:0 :>;8G5AB20 10@>2 =0 4>AB0B>G=>ABL 4;O @0AG5B0

   if(rates_total<min_rates_total) return(RESET);

   if(BarsCalculated(ATR_Handle)<rates_total) return(prev_calculated);

   if(BarsCalculated(Alligator_Handle)<rates_total) return(prev_calculated);



//---- >1JO2;5=8O ;>:0;L=KE ?5@5<5==KE 

   int limit,to_copy;

   double GATORJAW[],GATORTEETH[],GATORLIPS[];

   

//---- 8=45:A0F8O M;5<5=B>2 2 <0AA820E :0: 2 B09<A5@8OE

   ArraySetAsSeries(high,true);

   ArraySetAsSeries(low,true);

   ArraySetAsSeries(close,true);

   ArraySetAsSeries(open,true);

   ArraySetAsSeries(GATORJAW,true);

   ArraySetAsSeries(GATORTEETH,true);

   ArraySetAsSeries(GATORLIPS,true);

   

//---- @0AGQB AB0@B>2>3> =><5@0 first 4;O F8:;0 ?5@5AGQB0 10@>2

   if(prev_calculated>rates_total || prev_calculated<=0) // ?@>25@:0 =0 ?5@2K9 AB0@B @0AGQB0 8=48:0B>@0

     {

      limit=rates_total-PerATR-1;  // AB0@B>2K9 =><5@ 4;O @0AGQB0 2A5E 10@>2

      to_copy=rates_total;



      //---- :>?8@C5< 2=>2L ?>O282H85AO 40==K5 2 48=0<8G5A:89 <0AA82

      if(CopyBuffer(ATR_Handle,0,0,to_copy,ATR)<=0) return(prev_calculated);

      if(CopyBuffer(Alligator_Handle,GATORJAW_LINE,0,to_copy,GATORJAW)<=0) return(prev_calculated);

      if(CopyBuffer(Alligator_Handle,GATORTEETH_LINE,0,to_copy,GATORTEETH)<=0) return(prev_calculated);

      if(CopyBuffer(Alligator_Handle,GATORLIPS_LINE,0,to_copy,GATORLIPS)<=0) return(prev_calculated);



      double closeX= close[limit+1];

      double openX = open[limit+1];

      int limit1=limit+1; 

      //----

      if(closeX >  openX){Trend[limit1]=+1; Ceil[limit1]=closeX; BuyBuffer[limit1]=closeX - kATR * ATR[limit1];}

      if(closeX <  openX){Trend[limit1]=-1; Floor[limit1]=closeX; SellBuffer[limit1]=closeX + kATR * ATR[limit1];}

      if(closeX == openX){Trend[limit1]=+1; Ceil[limit1]=closeX; BuyBuffer[limit1]=closeX - kATR * ATR[limit1];}

     }

   else

     {

      limit=rates_total-prev_calculated; // AB0@B>2K9 =><5@ 4;O @0AGQB0 =>2KE 10@>2

      to_copy=limit+1;

      //--- :>?8@C5< 2=>2L ?>O282H85AO 40==K5 2 48=0<8G5A:89 <0AA82

      if(CopyBuffer(ATR_Handle,0,0,to_copy,ATR)<=0) return(prev_calculated);

      if(CopyBuffer(Alligator_Handle,GATORJAW_LINE,0,to_copy,GATORJAW)<=0) return(prev_calculated);

      if(CopyBuffer(Alligator_Handle,GATORTEETH_LINE,0,to_copy,GATORTEETH)<=0) return(prev_calculated);

      if(CopyBuffer(Alligator_Handle,GATORLIPS_LINE,0,to_copy,GATORLIPS)<=0) return(prev_calculated);      

     }



//---- >A=>2=>9 F8:; @0AGQB0 8=48:0B>@0

   for(int bar=limit; bar>=0 && !IsStopped(); bar--)

     {

      supervizerShift=bar;



      if (GATORJAW[bar]<GATORTEETH[bar] && GATORTEETH[bar]<GATORLIPS[bar]) GatorTrend[bar]=+1.0;

      if (GATORJAW[bar]>GATORTEETH[bar] && GATORTEETH[bar]>GATORLIPS[bar]) GatorTrend[bar]=-1.0;

      

      if(Uptrend(bar))

        {

         //Print("UpTrend");

         if(BreakCeil(bar,low))

           {

            NewCeil(bar,close);

            SetBuyBuffer(bar,close);

            Trend[bar]=+1;

            continue;

           }



         if(BreakUp(bar,close))

           {

            NewTrend(bar,close);

            continue;

           }



         CopyLastValues(bar);

        }

      else

        {

         if(BreakFloor(bar,high))

           {

            NewFloor(bar,close);

            SetSellBuffer(bar,close);

            Trend[bar]=-1;

            continue;

           }



         if(BreakDown(bar,close))

           {

            NewTrend(bar,close);

            continue;

           }



         CopyLastValues(bar);

        }

      if(DownBar[bar]>UpBar[bar]) ColorBar[bar]=1;

      else ColorBar[bar]=0;

     }

//----     

   return(rates_total);

  }

//+------------------------------------------------------------------+

Comments

Markdown supported. Formatting help

Markdown Formatting Guide

Element Markdown Syntax
Heading # H1
## H2
### H3
Bold **bold text**
Italic *italicized text*
Link [title](https://www.example.com)
Image ![alt text](image.jpg)
Code `code`
Code Block ```
code block
```
Quote > blockquote
Unordered List - Item 1
- Item 2
Ordered List 1. First item
2. Second item
Horizontal Rule ---