Jump to content

⤴️-Paid Ad- Check advertising disclaimer here. Add your banner here.🔥

Recommended Posts

Posted

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);

}

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


⤴️-Paid Ad- Check advertising disclaimer here. Add your banner here.🔥

×
×
  • Create New...