Page 3 of 509 FirstFirst 12345 ... LastLast
Results 21 to 30 of 87

Thread: MQL4 Programming

  1. #21
    Quote Originally Posted by ;
    quote HOW CAN YOU ADD THE CODE HERE INforexintuitiveIN THE FORMAT OF SCROLLED PAGE LIKE THE PICTURE HERE
    Watch in the toolbar when you are typing a reply, There's an icon lt;/gt; . If you click on that you will find a end and start code. Set in its center.
    Cheers!

  2. #22

  3. #23

  4. #24
    Quote Originally Posted by ;
    hi onehelp.. .is this right I would like to show the price on right side of this rectange for top and bottom... so I did this but price isn't coming it shown no error... what would I do ObjectCreate(0,FIB_SUP1, OBJ_RECTANGLE, 0, iTime(NULL, PERIOD_D1, 0), B, Time[0], B1); ObjectSetInteger (0,FIB_SUP1, OBJPROP_BACK,1 ); ObjectSetInteger (0,FIB_SUP1, OBJPROP_COLOR, C'0,52,62'); ObjectSetInteger(0,FIB_SUP1, OBJPROP_STYLE, 2); ObjectCreate(FIB_SUP1,OBJ_ARROW,0,Time[0],B); ObjectSet(FIB_SUP1,OBJPROP_ARROWCODE,SYMBOL_RIGHTP RICE); ObjectSet(FIB_SUP1,OBJPROP_COLOR,C'0,52,62');...
    You tried to create a new object with the same name. That is why the object isn't shown because it got replaced.
    Inserted Code series FIB_SUP1=TEST; series FIB_SUP2=TEST2; void OnStart() ObjectCreate(0,FIB_SUP1, OBJ_RECTANGLE, 0, iTime(NULL, PERIOD_D1, 0), Close91;593;, Time#91;0#93;, Close#91;0#93;-RRB-; ObjectSetInteger (0,FIB_SUP1, OBJPROP_BACK,1 ); ObjectSetInteger (0,FIB_SUP1, OBJPROP_COLOR, C'0,52,62'); ObjectSetInteger(0,FIB_SUP1, OBJPROP_STYLE, 2); ObjectCreate(FIB_SUP2,OBJ_ARROW,0,Time#91;0#93;,Cl ose91;0#93;-RRB-; ObjectSet(FIB_SUP2,OBJPROP_ARROWCODE,SYMBOL_RIGHTP RICE); ObjectSet(FIB_SUP2,OBJPROP_COLOR,C'0,52,62');

  5. #25
    Quote Originally Posted by ;
    quote You tried to make a new item with the exact same name. That is the very first thing isn't shown because it got replaced. Series FIB_SUP1=TEST; series FIB_SUP2=TEST2; void OnStart(){ ObjectCreate(0,FIB_SUP1, OBJ_RECTANGLE, 0, iTime(NULL, PERIOD_D1, 0), Close[5], Time[0], Close[0]); ObjectSetInteger (0,FIB_SUP1, OBJPROP_BACK,1 ); ObjectSetInteger (0,FIB_SUP1, OBJPROP_COLOR, C'0,52,62'); ObjectSetInteger(0,FIB_SUP1, OBJPROP_STYLE, two); ObjectCreate(FIB_SUP2,OBJ_ARROW,0,Time[0],Close[0]); ObjectSet(FIB_SUP2,OBJPROP_ARROWCODE,SYMBOL_RIGHTP RICE);...
    ok but for your own sup1 is rectangel but need 2 lines top and bottom
    I tried to plot similar to this pic. . For what I could do

  6. #26
    Thank you , I love the help. I fixed what you proposed, got it and =D crashed. I am sure it was because of the Number of orders it tried to place, I'll have to add code to place once per candle. It appears to be a common question so that I won't continue asking you mend it . Your videos are a excellent help!

  7. #27
    Quote Originally Posted by ;
    quote okay but for the sup1 is rectangel but want 2 lines top and underside I attempted to plot similar to this pic. . For what I can do image
    are you dumb or annoying? Employ some one to make you it if no one inforexintuitivedoesn't wish to do what you are asked.

  8. #28
    Quote Originally Posted by ;
    Thanks , I appreciate the help. I fixed what you proposed, got it and my pc crashed =D. I am certain it was because of the Number of orders that it tried to place, I will need to add code to place once a candle. It seems to be a common question so I won't keep asking you fix it . Your videos are a great help!
    No difficulty. I think you need to pay attention to this flag logic. I didn't pay much attention. All the Best

  9. #29
    Quote Originally Posted by ;
    quote okay but for the sup1 is rectangel but want 2 lines top and underside I tried to plot like this pic. . For that what I can do picture
    I was rude
    Maybe this is what you're asking for.
    TEST2 and TEST 3 would be the price tag
    Inserted Code // ------------------------------------------------------------------ //| test.mq4 | //| Copyright 2016, MetaQuotes Software Corp.. | //| https://www.mql5.com | // ------------------------------------------------------------------ #property copyright Copyright 2016, MetaQuotes Software Corp. #property Hyperlink https://www.mql5.com #property version 1.00 #property stringent // ------------------------------------------------------------------ //| Script software start function | // ------------------------------------------------------------------ string FIB_SUP1=TEST; string FIB_SUP2=TEST2; string FIB_SUP3=TEST3; void OnStart() ObjectCreate(0,FIB_SUP1, OBJ_RECTANGLE, 0, iTime(NULL, PERIOD_D1, 0), Close#91;593;, Time#91;0#93;, Close#91;0#93;-RRB-; ObjectSetInteger (0,FIB_SUP1, OBJPROP_BACK,1 ); ObjectSetInteger (0,FIB_SUP1, OBJPROP_COLOR, C'0,52,62'); ObjectSetInteger(0,FIB_SUP1, OBJPROP_STYLE, 2); ObjectCreate(FIB_SUP2,OBJ_ARROW,0,Time#91;0#93;,Cl ose91;0#93;-RRB-; ObjectSet(FIB_SUP2,OBJPROP_ARROWCODE,SYMBOL_RIGHTP RICE); ObjectSet(FIB_SUP2,OBJPROP_COLOR,C'0,52,62'); ObjectCreate(FIB_SUP3,OBJ_ARROW,0,Time#91;0#93;,Cl ose#91;593;-RRB-; ObjectSet(FIB_SUP3,OBJPROP_ARROWCODE,SYMBOL_RIGHTP RICE); ObjectSet(FIB_SUP3,OBJPROP_COLOR,C'0,52,62');

  10. #30
    Quote Originally Posted by ;
    quote are you dumb or annoying? Hire some one if nobody inforexintuitivedoesn't want to do what you're requested to create you it.
    thank you for such kindness.... I wont ask anymore here following ... to learn motive I asked here... there I shared my thought also... for my little requests... I know clearly how people are .... Really hearty thanks... god revealed me the real face of some people frequently to me...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
This website uses cookies
We use cookies to store session information to facilitate remembering your login information, to allow you to save website preferences, to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners more information