Points_change

Author: Copyright 2020, MrBrooklin
Price Data Components
Series array that contains open prices of each barSeries array that contains close prices for each bar
0 Views
0 Downloads
0 Favorites
Points_change
ÿþ//+------------------------------------------------------------------+

//|                                                Points_change.mq5 |

//|                                       Copyright 2020, MrBrooklin |

//|                         https://www.mql5.com/ru/users/mrbrooklin |

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

#property copyright "Copyright 2020, MrBrooklin"

#property link      "https://www.mql5.com"

#property description "================================================="

#property description "7<5=5=85 :>;8G5AB20 ?C=:B>2 >B>1@0605BAO 2 25E=5< ;52>< C3;C 3@0D8:0"

#property description "================================================="

#property version   "1.00" 

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

//| Expert initialization function                                   |

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

int OnInit()

  {

//---



//---

   return(INIT_SUCCEEDED);

  }

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

//| Expert deinitialization function                                 |

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

void OnDeinit(const int reason)

  {

//---



  }

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

//| Expert tick function                                             |

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

void OnTick()

  {

//--- A>7405< ?5@5<5==K5 8 ?@8A208205< 8< B8?K 40==KE

   double open =iOpen(_Symbol,PERIOD_D1,0);

   double close=iClose(_Symbol,PERIOD_D1,0);

//---

   double number_points=(close-open)*100000;



//--- 4;O =03;O4=>AB8 2K2>48< :><<5=B0@89 2 25@E=89 ;52K9 C3>; 3@0D8:0

   Comment(

      "Points number change:   ",DoubleToString(number_points,0)

   );

  }

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

Comments