posting code in a mql4 forum

To add comments, please log in or register
rob
106
rob  

I can't do it!

What are the steps for copying and pasting from metaeditor to these forums please?

Sergey Golubev
Moderator
106126
Sergey Golubev  

That is not a difficult at all.

Examples - 

Forum on trading, automated trading systems and testing trading strategies

1. text marks in a separate window, positioned on candle (time) positions. 2. colored lines or histograms

whroeder1, 2015.07.20 12:30

  1. Don't paste code
    Play video
    Please edit your post.
    For large amounts of code, attach it.

  2. You indent? Perhaps you intend.
  3. Don't attach a image, insert the image
  4. Price is not irrelevant. You fixed it's minimum and maximum (Program Properties (#property) - MQL4 Documentation) thus it still has a low and high.
  5.  sObjName   = "GMT"+iBar;                  // LMAX GMT time (add iBar iso. i to sObjectName)
    First run you are going to create an object named GMT0. When the next bar starts you are again going to try to create GMT0 (which is now under bar one) and that will fail. Don't use bar numbers in object names; use time "GMT"+int(Time[iBar]) or similiar.

rob
106
rob  
Sergey Golubev:

That is not a difficult at all.

Examples - 




Thankyou ... I wasnt realising it is not until it is posted that the HTML comes alive

To add comments, please log in or register