Hi, Do you mean like in this example ?
http://www.amibroker.com/guide/h_indbuilder2.html Best Regards --- In [email protected], "murthysuresh" <mo...@...> wrote: > > hello > i want to paint the space between the 2 ma in a different color if the > DrawStyleCloud conditions are true. i need some help with coding the > style cloud. > pl help. > > _SECTION_BEGIN("EMA"); > P7 = EMA( C, 7 ); > P15 = EMA( C, 15 ); > Plot( P7, "P7", colorGreen, styleLine ); > Plot( P15, "P15", colorBlue, styleLine ); > range=MA(High-Low,15); > > DrawStyleCloud=IIf(C<P7<P15 AND (P7-Low)<range,True,False); > // now how do i draw style clound between P7 and P15 > _SECTION_END(); >
