Jump to content

I need mql4 Coder to help me


Fortuna1713006009

Recommended Posts

This may be what you are looking for - to have the boxes grow in the II_PipAccumulator indicator:

Find the code where the existing two "ObjectCreate("Box_" + ctr, OBJ_RECTANGLE"..."'s are. Insert the below code just after those two if blocks.

if ( (BuyActive) && (i==1) )

{

ObjectCreate("Box_" + ctr, OBJ_RECTANGLE, 0, t1,HH,Time[0],LL); // Probably quicker to recreate than test.

ObjectSet("Box_" + ctr, OBJPROP_STYLE, STYLE_SOLID);

ObjectSet("Box_" + ctr, OBJPROP_COLOR, up_box_color);

ObjectSet("Box_" + ctr, OBJPROP_BACK, True);

}

if ( (SellActive) && (i==1) )

{

ObjectCreate("Box_" + ctr, OBJ_RECTANGLE, 0, t2,LL,Time[0],HH);

ObjectSet("Box_" + ctr, OBJPROP_STYLE, STYLE_SOLID);

ObjectSet("Box_" + ctr, OBJPROP_COLOR, dn_box_color);

ObjectSet("Box_" + ctr, OBJPROP_BACK, True);

}

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...