Coding: how to adjust height of a chart symbol from indior
Results 1 to 4 of 4

Thread: Coding: how to adjust height of a chart symbol from indior

  1. #1
    Hello,

    I'm a coding ignoramus and need some help.

    I want to alter some indiors that paint symbols in my chart below or above candles.

    How would I alter the height where they appear below or above? Can somebody tell me the worth to look for or add to control this.

    Tks

  2. #2
    Ahhhh....

    Found it, here is the important bit of programming. Best way to edit it with out screwing it up?

    obj_nameND=No Demand - I - tag;
    ObjectCreate(obj_nameND,OBJ_TEXT,0,Time[I],High[I] (addhigh));// disperse 0.0005);
    ObjectSetText(obj_nameND,v,14,Arial,Lime);
    ObjectSet(obj_nameND,OBJPROP_PRICE1,High[I] (addhigh));
    ObjectSet(obj_nameND,OBJPROP_TIME1,Time[I]);
    if(High[I]-Close[I]gt;Open[I]-Low[I])

    ObjectSetText(obj_nameND,v,14,Arial,Lime);

  3. #3
    There it is:

    High[I] (addhigh));// disperse 0.0005);

    Now loe where/how that this addhigh variable gets its value, and modify it.

  4. #4
    Hi Haggis,

    Look for this/similar:

    ObjectCreate(Title, OBJ_TEXT, 0, Time[I], High[I] 0.0005);

    or

    ObjectSet(Title, OBJPROP_PRICE1, Low[I]-0.0005);

    If it's above/below a candle, Then the position is Likely calculated with reference to its high/low. E.g. the space is 5 pips at these two examples (pip value is 0.0001 here of course).

    Hope this helps,

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.