Help with this indicator to add simple objects to chart

 
//+------------------------------------------------------------------+
//|                                                    NSNDAlert.mq4 |
//|                      Copyright © 2011, MetaQuotes Software Corp. |
//|                                        http://www.metaquotes.net |
//+------------------------------------------------------------------+
#property copyright "Copyright © 2011, MetaQuotes Software Corp."
#property link      "http://www.metaquotes.net"

#property indicator_chart_window
//+------------------------------------------------------------------+
//| Custom indicator initialization function                         |
//+------------------------------------------------------------------+
extern int maxspread=100;
extern int candlecount=10;
static int prevtimePNS=0;
static int prevtimeCNS=0;
static int prevtimePND=0;
static int prevtimeCND=0;
double pip;

int init()
  {
//---- indicators

//----
   return(0);
  }
//+------------------------------------------------------------------+
//| Custom indicator deinitialization function                       |
//+------------------------------------------------------------------+
int deinit()
  {
//----
  for (int i=1; i<ObjectsTotal(); i++)
 {
   if(StringSubstr(ObjectName(i),0,2)=="No")
   {
//    ObjectDelete(ObjectName(i));
   }
 }
//----
   return(0);
  }
//+------------------------------------------------------------------+
//| Custom indicator iteration function                              |
//+------------------------------------------------------------------+
int start()
  {
  //if(Seconds()>10)
  pip=Point*1;
  {
   int    counted_bars=IndicatorCounted();
  // string comment="";
//----
double points=Point*maxspread*10;
//Comment(points);
   bool LowVolume[10000];
   bool bear[10000];
   bool bull[10000];
   bool pins[10000];
   int bearcloseabove[10000];
   bool bearclosebelow[10000];
   int bullclosebelow[10000];
   bool bullcloseabove[10000];
   int prevbelowcount=0;
   int prevabovecount=0;
   int count=candlecount;
   int pinno=0;
   string comment[10];
   double chartheight;
   chartheight=WindowPriceMax()-WindowPriceMin();
   double addhigh=6.00/100.00*chartheight;
   //addhigh=addhigh*3;
 //  Comment(chartheight," ",addhigh," ",High[1]);
          string obj_nameND1="No Demand Test";
      //  ObjectCreate(obj_nameND1,OBJ_TEXT,0,Time[1],High[1]+(addhigh));//+spread+0.0005);
        ObjectSetText(obj_nameND1,"v",18,"Arial",Red);
        ObjectSet(obj_nameND1,OBJPROP_PRICE1,High[1]+(addhigh));
        ObjectSet(obj_nameND1,OBJPROP_TIME1,Time[1]);
   int i;
   if(Period()==60)
   {
   maxspread=3000;
   }
   for (i=1; i<=count; i++)
   {
     comment[i]="("+i+") " ;
    bear[i]=false;
    bull[i]=false;
      if(Open[i]>Close[i])
   {
   if(High[i]-Low[i]<points)
   {
    bear[i]=true;
    comment[i]=comment[i]+"Bear ";
    }
   }
   if(Close[i]>Open[i])
   {
    if(High[i]-Low[i]<points)
    {

    bull[i]=true;
    comment[i]=comment[i]+"Bull ";
    }
   }
   }
   
   for (i=1; i<=count; i++)
   {
   
     LowVolume[i]=False;
     if(Volume[i]<Volume[i+1] && Volume[i]<Volume[i+2])
     {
       LowVolume[i]=True;
       comment[i]=comment[i]+"Low Vol ";
    }
  }
   
   
     
   for (i=1; i<=count; i++)
   {
     pins[i]=false;



  
   if(bear[i] && High[i]>Open[i]+pip && Low[i]<Close[i]-pip)
   {
    pins[i]=true;
    comment[i]=comment[i]+" Pins";
   }
   if(bull[i] && High[i]>Close[i]+pip && Low[i]<Open[i]-pip)
   {
    
    pins[i]=true;
    comment[i]=comment[i]+" Pins";
   }
   }
   
   
   for (i=1; i<=count; i++)
   {
    //comment[i]=comment[i]+i+"i";
     bearcloseabove[i]=0;
     bullclosebelow[i]=0;
     bullcloseabove[i]=false;
     bearclosebelow[i]=false;    
     for (int ix=1; ix<=i; ix++)
     {
      //   comment[i]=comment[i]+ix+"ix";
       if(bear[i]==true && Close[ix]<Low[i])
       {
        if(!bearclosebelow[i])
        {
        comment[i]=comment[i]+" Close Below ";
        }
        bearclosebelow[i]=true;
       }
       if(bear[i]==true && Close[ix]>High[i])
       {
        if(!bearcloseabove[i])
        {
        comment[i]=comment[i]+" Close Above ";
        }
        bearcloseabove[i]++;
       }
       
       
       
       
       
       if(bull[i]==true && Close[ix]>High[i])
       {
       if(!bullcloseabove[i])
        {
          comment[i]=comment[i]+" Close Above ";
      
        }
        bullcloseabove[i]=true;
       }
       
       if(bull[i]==true && Close[ix]<Low[i])
       {
       if(!bullclosebelow[i])
        {
          comment[i]=comment[i]+" Close Below ";
      
        }
        bullclosebelow[i]++;
       }
       
     }
   
   
   
      
  
   }
  // Comment(" ");
//----

   string label;
   label=TimeYear(TimeCurrent())+DoubleToStr(TimeMonth(TimeCurrent()),0)+DoubleToStr(TimeDay(TimeCurrent()),0);
   label=label+DoubleToStr(TimeHour(TimeCurrent()),0)+DoubleToStr(TimeMinute(TimeCurrent()),0);
  // Comment(label);
   for (i=1; i<=count; i++)
   {
      double spread=High[i]-Low[i];
    if(bull[i] && LowVolume[i] && pins[i] && !bullcloseabove[i] && bullclosebelow[i]==0)
    {
     comment[i]=comment[i]+" Potential No Demand Candle -"+i;
    }
    if(Close[0]<Low[i] && bull[i] && LowVolume[i] && pins[i] && !bullcloseabove[i] && bullclosebelow[i]==0)
    {
      if(Time[0]!=prevtimePND)
      {
        Alert(Symbol()+Period()+" Potential No Demand Candle -"+(i+1));
        prevtimePND=Time[0];
      }
    }
    if(Close[1]<Low[i] && bull[i] && LowVolume[i] && pins[i] && !bullcloseabove[i] && bullclosebelow[i]<2)
    {
      if(Time[0]!=prevtimeCND)
      {
        Alert(Symbol()+Period()+" Confirmed No Demand Candle -"+(i+1));
        prevtimeCND=Time[0];
      }
    }
    
    if(bear[i] && LowVolume[i] && pins[i] && !bearclosebelow[i] && bearcloseabove[i]==0)
    {
    comment[i]=comment[i]+" Potential No Supply Candle -"+i;
    }
    
    if(Close[0]>High[i] && bear[i] && LowVolume[i] && pins[i] && !bearclosebelow[i]  && bearcloseabove[i]==0)
    {
      if(Time[0]!=prevtimePNS)
      {   
        Alert(Symbol()+Period()+" Potential No Supply Candle -"+(i+1));
        prevtimePNS=Time[0];
      }
    }
    
    if(Close[1]>High[i] && bear[i] && LowVolume[i] && pins[i] && !bearclosebelow[i]  && bearcloseabove[i]<2)
    {
      if(Time[0]!=prevtimeCNS)
      {   
        Alert(Symbol()+Period()+" Confirmed No Supply Candle -"+(i+1));
    
        prevtimeCNS=Time[0];
      }
    }
   
   } // end for
 
//
string fullcomment;
for (i=1; i<=count; i++)
{
fullcomment=fullcomment+comment[i]+"\n";
}
//Comment(fullcomment);
   return(0);
  }
  }
//+------------------------------------------------------------------+

Hi need some help 

creating or adding objects "ObjectCreate" to this indicator
when an alert appears, so if an alert appears you can see
the object on the chart next to the candle

so an object appears on the chart when an Alert appears for: Potential No Demand Candle

also an object appears on the chart when an Alert appears for Confirmed No Demand Candle

the indicator is in the link
http://www.4shared.com/file/_IQNn8-n/NSNDHistoryAlert_240MIN.html?

Thank you

 
trd: need some help creating or adding objects "ObjectCreate" to this indicator
Since there are no slaves here, you have only three choices: Search for it, learn to code it, or pay someone. We're not going to code it FOR you. We are willing to HELP you when you post your attempt (using SRC) and the nature of your problem.
Reason: