Search for help again:), Is it possible to show prodicted prices in the right of the main chart either as bar, candlestick or line?

 
It's meaningful to have solution to show prodicted prices in the right part of main chart. Salsa, is it possible in MT4?
In addition, I can use a template with "skip_size" option to offset the chart, thus reserve spaces in the right part to draw trendlines. But how to show prodicted prices as history prices?
 
 
Slawa, thank you for the help!
It's not TestLabel. I mean the price series. I'd like to draw predicted price series on the right side of price chart, i.e. on the right side (future periods) of current bar. But as normal usage, only history prices can be shown on the price chart. Slawa, is that possible?
Thanks in advance!
 
Use TextLabel object for your purpose
 
Oh. Let me try:). The text label is useful to display the price information (OHCL). Still the question, can it be used for draw the price line as history bars?
 
Sorry for my english.
See example
//+------------------------------------------------------------------+
//|                                              PredictedPrices.mq4 |
//|                      Copyright © 2006, MetaQuotes Software Corp. |
//|                                        http://www.metaquotes.net |
//+------------------------------------------------------------------+
#property copyright "Copyright © 2006, MetaQuotes Software Corp."
#property link      "http://www.metaquotes.net"

#property indicator_chart_window
#property indicator_buffers 4
#property indicator_color1 Gold
#property indicator_color2 Red
#property indicator_color3 Gold
#property indicator_color4 Red
#property indicator_width3 3
#property indicator_width4 3
//---- input parameters
extern int       ExtPricesAmount=10;
//---- buffers
double ExtMapBuffer1[];
double ExtMapBuffer2[];
double ExtMapBuffer3[];
double ExtMapBuffer4[];
//+------------------------------------------------------------------+
//| Custom indicator initialization function                         |
//+------------------------------------------------------------------+
int init()
  {
//---- indicators
   SetIndexStyle(0,DRAW_HISTOGRAM);
   SetIndexBuffer(0,ExtMapBuffer1);
   SetIndexStyle(1,DRAW_HISTOGRAM);
   SetIndexBuffer(1,ExtMapBuffer2);
   SetIndexStyle(2,DRAW_HISTOGRAM);
   SetIndexBuffer(2,ExtMapBuffer3);
   SetIndexStyle(3,DRAW_HISTOGRAM);
   SetIndexBuffer(3,ExtMapBuffer4);
   SetIndexShift(0,ExtPricesAmount);
   SetIndexShift(1,ExtPricesAmount);
   SetIndexShift(2,ExtPricesAmount);
   SetIndexShift(3,ExtPricesAmount);
//----
   return(0);
  }
//+------------------------------------------------------------------+
//| Custom indicator iteration function                              |
//+------------------------------------------------------------------+
int start()
  {
   int i,j;
//----
   for(i=0,j=ExtPricesAmount; i<ExtPricesAmount; i++,j--)
     {
      ExtMapBuffer1[i]=High[j];
      ExtMapBuffer2[i]=Low[j];
      ExtMapBuffer3[i]=Open[j];
      ExtMapBuffer4[i]=Close[j];
     }
//----
   return(0);
  }
//+------------------------------------------------------------------+
 
Thank you Slawa!
It's helpful and I can get the candlesticks in the future periods now!
Reason: