object on chart

 

programatically , example , rectangle object placed on chart at a specified time like 10am.

ObjectCreate("", rectangle, 0, 0 ). Thanks

 
  1. Perhaps you should read the manual.
       How To Ask Questions The Smart Way. (2004
          How To Interpret Answers.
             RTFM and STFW: How To Tell You've Seriously Screwed Up.

  2. A rectangle has two coordinates (price and time). Placing it at "like 10am" is meaningless.

  3. Show us your attempt (using the CODE button) and state the nature of your problem.
              No free help (2017.04.21)

    Or pay someone. Top of every page is the link Freelance.
              Hiring to write script - General - MQL5 programming forum (2018.05.12)

    We're not going to code it for you (although it could happen if you are lucky or the problem is interesting).
              No free help (2017.04.21)

 

I did make an attempt for MT4 programming .

There is no need wing MT4/5  header of #property "".

ObjectCreate("", rectangle, 0, 0 ).

 
Mary Ann Thompson: I did make an attempt for MT4 programming .

Did you show it? The single line you did show has only one invalid coordinate, not two valid coordinates, as required.