+ Reply to Thread
Results 1 to 9 of 9

Thread: Using comment function to display info over chart

  1. #9
    Banned 0007 is a jewel in the rough 0007 is a jewel in the rough 0007 is a jewel in the rough 0007's Avatar
    Join Date
    Nov 2020
    Posts
    222
    Thanks
    2,652
    Thanked 272 Times in 160 Posts
    मैं हमेशा मानता हूं कि अच्छी तरह से तैयार लोगों को अधिक संभावना है; यह हमेशा मुद्रा व्यापार में सच है। कुछ विदेशी मुद्रा शुरुआती विदेशी मुद्रा बाजार के उतार-चढ़ाव का फायदा उठाकर पैसा बनाने के लिए उत्सुक हैं ... और इस तरह के उत्साह के साथ, वे गलतियां करते हैं: पर्याप्त तैयारी के बिना व्यापार में उतरना !!! और नौसिखिए व्यापारियों द्वारा की गई सामान्य गलतियों में से एक अति आत्मविश्वास और कई सौदे हैं। यह निश्चित रूप से खाते के लिए बुरा होगा, बहुत अधिक आत्मविश्वास व्यापारियों को स्टॉप लॉस का उपयोग नहीं करने देगा। जबकि बहुत से लेनदेन कॉल मार्जिन को गति देंगे। इन दोनों से बचा जाना चाहिए, खासकर नए व्यापारियों के लिए।

    हम इसे तभी खत्म कर सकते हैं जब हम अपना अनुभव साझा करेंगे। इस मुद्दे का समाधान या विस्तार। हम इसे प्रतिध्वनित करने के लिए अधिक डेटा की आवश्यकता के कारण jsut से लाभ नहीं उठा सकते क्योंकि यह अनियमितता के साथ इतना वास्तविक है। कीट भट बेनिफिट मिल्टा है। और विदेशी मुद्रा व्यापार में नौसिखिया ज्ञान और आक्रामक व्यापारिक मानसिकता की कमी के कारण अपनी पूंजी खो देते हैं, प्रत्येक शुरुआती व्यापारी को बाजार पढ़ने के पूर्वानुमान के बारे में कुछ अनुभव प्राप्त करने और डेमो खाते में इसका उपयोग करने के लिए एक डेमो खाता खोलना चाहिए, व्यापार करते समय धन प्रबंधन से बचने जैसी गलतियां। और विदेशी मुद्रा व्यापारियों के लिए लालच से बचना बहुत मददगार है

    Though trading on financial markets involves high risk, it can still generate extra income in case you apply the right approach. By choosing a reliable broker such as InstaForex you get access to the international financial markets and open your way towards financial independence. You can sign up here.


  2. #8
    Banned Merabnoor123 has a reputation beyond repute Merabnoor123 has a reputation beyond repute Merabnoor123 has a reputation beyond repute Merabnoor123 has a reputation beyond repute Merabnoor123 has a reputation beyond repute Merabnoor123 has a reputation beyond repute Merabnoor123 has a reputation beyond repute Merabnoor123 has a reputation beyond repute Merabnoor123 has a reputation beyond repute Merabnoor123 has a reputation beyond repute Merabnoor123 has a reputation beyond repute Merabnoor123's Avatar
    Join Date
    Nov 2020
    Posts
    1,569
    Thanks
    0
    Thanked 4,052 Times in 1,880 Posts
    agr ap programing janty hen tu phir to ye bohat achi baat he. programing k through ap more earn kar skty hen lekin ye baat bhi sach he k programing koi easy cheez nahi he. isy kafi time dena pary ga.

    Though trading on financial markets involves high risk, it can still generate extra income in case you apply the right approach. By choosing a reliable broker such as InstaForex you get access to the international financial markets and open your way towards financial independence. You can sign up here.


  3. The Following 3 Users Say Thank You to Merabnoor123 For This Useful Post:

    0007 (2020-12-15), Rehan218 (2020-12-03), shahzadm2 (2020-12-02)

  4. #7
    Senior Member barikahalah is an unknown quantity at this point barikahalah's Avatar
    Join Date
    Jan 2013
    Posts
    143
    Thanks
    0
    Thanked 13 Times in 10 Posts
    I would like to recognize your own method, you can contribute word as well as an image. In case may well inquire, simply because I'm a little perplexed concerning the application of that code, in case you definitely operate the actual code. Many thanks with regard to revealing.

    Though trading on financial markets involves high risk, it can still generate extra income in case you apply the right approach. By choosing a reliable broker such as InstaForex you get access to the international financial markets and open your way towards financial independence. You can sign up here.


  5. The Following User Says Thank You to barikahalah For This Useful Post:

    0007 (2020-12-15)

  6. #6
    Banned pyardilforex is on a distinguished road pyardilforex's Avatar
    Join Date
    Jan 2013
    Location
    in front display MT4 metatrader
    Posts
    339
    Thanks
    0
    Thanked 11 Times in 9 Posts
    I beginer insufficiently understands by comment presentation function on charts, but I will study to know its ways of working, I pleasantly find new thing of you

    Though trading on financial markets involves high risk, it can still generate extra income in case you apply the right approach. By choosing a reliable broker such as InstaForex you get access to the international financial markets and open your way towards financial independence. You can sign up here.


  7. The Following User Says Thank You to pyardilforex For This Useful Post:

    0007 (2020-12-15)

  8. #5
    Senior Member IjoProfit will become famous soon enough IjoProfit will become famous soon enough IjoProfit's Avatar
    Join Date
    Jan 2013
    Location
    Pakalongan
    Posts
    126
    Thanks
    0
    Thanked 112 Times in 38 Posts
    SubscribeSubscribe
    subscribed 0
    Quote Originally Posted by panama84 View Post
    many expert advisors and indicators add text on chart.


    Actually it is very simple MQL function Comment()

    It takes any number of arguments which will be concatenated together to form the string you want to print.

    This is an example:

    Comment("Open: ", Open[1],"\nHigh: ", High[1],"\nLow: ", Low[1],"\nClose: ", Close[1]);

    this will display the OHLC values on the chart window on the top left corner.

    if you need to write multiple lines simply use the value "\n" for going to a new line.

    To start open Meta Editor and create a new indicator then add the previous line of code inside the start function so it will look like this



    After attaching the indicator to the chart it will show the values like this (See the top left corner of the window).
    What you mean is a comment on an EA that will be built, so that later history will look comments section as we want,
    if so I think it was things I could do with a little change any part of an EA
    CLICK THANKS IF YOU LIKE MY TREAD

  9. The Following User Says Thank You to IjoProfit For This Useful Post:

    0007 (2020-12-15)

  10. #4
    Senior Member mickel is an unknown quantity at this point mickel's Avatar
    Join Date
    Jan 2013
    Posts
    87
    Thanks
    0
    Thanked 6 Times in 3 Posts
    You are a programmer, if I may ask please, how can we really apply this code because I'm a little confused about how to use the code. Thanks for sharing.

    Though trading on financial markets involves high risk, it can still generate extra income in case you apply the right approach. By choosing a reliable broker such as InstaForex you get access to the international financial markets and open your way towards financial independence. You can sign up here.


  11. The Following User Says Thank You to mickel For This Useful Post:

    0007 (2020-12-15)

  12. #3
    Banned WDholic is on a distinguished road WDholic's Avatar
    Join Date
    Dec 2011
    Location
    every where
    Posts
    250
    Thanks
    13
    Thanked 29 Times in 20 Posts
    here.. try my void
    you can add more lines as you need
    PHP Code:
    void Labeling ()
    int Fontsize=14;
          
    ObjectCreate("baa"OBJ_LABEL000);
          
    ObjectSet("baa"OBJPROP_CORNER,3);
          
    ObjectSet("baa"OBJPROP_BACK,0);
          
    ObjectSet("baa"OBJPROP_XDISTANCE,);
          
    ObjectSet("baa"OBJPROP_YDISTANCE,5+1.5*Fontsize*0+(2*Fontsize)); 
          
    ObjectSetText("baa","=====================",Fontsize,"Arial Bold",Pink);

          
    ObjectCreate("caa"OBJ_LABEL000);
          
    ObjectSet("caa"OBJPROP_CORNER,3);
          
    ObjectSet("caa"OBJPROP_BACK,0);
          
    ObjectSet("caa"OBJPROP_XDISTANCE,);
          
    ObjectSet("caa"OBJPROP_YDISTANCE,5+1.5*Fontsize*0.8+(2*Fontsize)); 
          
    ObjectSetText("caa",WindowExpertName(),Fontsize+4,"Arial Bold",OrangeRed);
          
          
    ObjectCreate("aaa"OBJ_LABEL000);
          
    ObjectSet("aaa"OBJPROP_CORNER,3);
          
    ObjectSet("aaa"OBJPROP_BACK,0);
          
    ObjectSet("aaa"OBJPROP_XDISTANCE,);
          
    ObjectSet("aaa"OBJPROP_YDISTANCE,5+1.5*Fontsize*2+(2*Fontsize)); 
          
    ObjectSetText("aaa","=====================",Fontsize ,"Arial Bold",Pink);
          
           
    ObjectCreate("aab"OBJ_LABEL000);
          
    ObjectSet("aab"OBJPROP_CORNER,3);
          
    ObjectSet("aab"OBJPROP_BACK,0);
          
    ObjectSet("aab"OBJPROP_XDISTANCE,);
          
    ObjectSet("aab"OBJPROP_YDISTANCE,5+1.5*Fontsize*4+(2*Fontsize)); 
          
    ObjectSetText("aab",DoubleToStr(AccountBalance(),2)+"  = BALANCE",Fontsize,"Arial Bold",Lime);
          
           
    ObjectCreate("aac"OBJ_LABEL000);
          
    ObjectSet("aac"OBJPROP_CORNER,3);
          
    ObjectSet("aac"OBJPROP_BACK,0);
          
    ObjectSet("aac"OBJPROP_XDISTANCE,);
          
    ObjectSet("aac"OBJPROP_YDISTANCE,5+1.5*Fontsize*5+(2*Fontsize)); 
          
    ObjectSetText("aac",DoubleToStr(AccountEquity(),2)+"  =   EQUITY  ",Fontsize,"Arial Bold",Lime);

    Though trading on financial markets involves high risk, it can still generate extra income in case you apply the right approach. By choosing a reliable broker such as InstaForex you get access to the international financial markets and open your way towards financial independence. You can sign up here.


  13. The Following User Says Thank You to WDholic For This Useful Post:

    0007 (2020-12-15)

  14. #2
    Senior Member paijahnpaijo is an unknown quantity at this point paijahnpaijo's Avatar
    Join Date
    Dec 2012
    Posts
    186
    Thanks
    1
    Thanked 6 Times in 5 Posts
    I want to understand in my chart is how to add text to it in my chart. eg I want to add the words "indian-forex" in the upper right corner of the chart. how?

    Though trading on financial markets involves high risk, it can still generate extra income in case you apply the right approach. By choosing a reliable broker such as InstaForex you get access to the international financial markets and open your way towards financial independence. You can sign up here.


  15. The Following 2 Users Say Thank You to paijahnpaijo For This Useful Post:

    0007 (2020-12-15), Unregistered (1)

  16. #1
    Member panama84 is on a distinguished road panama84's Avatar
    Join Date
    Sep 2012
    Posts
    21
    Thanks
    0
    Thanked 16 Times in 8 Posts
    SubscribeSubscribe
    subscribed 0

    Using comment function to display info over chart

    many expert advisors and indicators add text on chart.


    Actually it is very simple MQL function Comment()

    It takes any number of arguments which will be concatenated together to form the string you want to print.

    This is an example:

    Comment("Open: ", Open[1],"\nHigh: ", High[1],"\nLow: ", Low[1],"\nClose: ", Close[1]);

    this will display the OHLC values on the chart window on the top left corner.

    if you need to write multiple lines simply use the value "\n" for going to a new line.

    To start open Meta Editor and create a new indicator then add the previous line of code inside the start function so it will look like this



    After attaching the indicator to the chart it will show the values like this (See the top left corner of the window).

    Though trading on financial markets involves high risk, it can still generate extra income in case you apply the right approach. By choosing a reliable broker such as InstaForex you get access to the international financial markets and open your way towards financial independence. You can sign up here.


  17. The Following 2 Users Say Thank You to panama84 For This Useful Post:

    0007 (2020-12-15), Unregistered (1)

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Currently Active UsersCurrently Active Users

There are currently users online. members and guests

Forex Forum India | Forex Community Place Statistics Forex Forum India Statistics

Most users ever online was .

Welcome to our newest member,

Threads:

Posts:

Member: