Fortuna1713006009 Posted December 6, 2011 Report Posted December 6, 2011 Please, I need Coder to help me to add rectangle to MTF MACD cross arrow indicator. In the place where arrow shows up I would like to add rectangle. I can send the screen of my idea if anyone can help me. Fortuna Quote
⭐ LukeB Posted December 7, 2011 Report Posted December 7, 2011 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); } Fortuna1713006009 1 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.