This the sort of thing you are looking for?

_SECTION_BEGIN("Trade Shade");

FBuy = Flip(Ref(Buy,-1),Ref(Sell,-2));
IIf(BarsSince(Buy < BarsSince(Sell)),Plot( FBuy, "Buy", ParamColor
( "Buy Color", colorCycle ), styleArea+styleOwnScale ),Null);

_SECTION_END();


Monty
--- In [email protected], "progster01" <[EMAIL PROTECTED]> wrote:
>
> Hi again.
> 
> Is it possible to shade the chart background differently between the
> open and close of trades (as opposed to periods when your position 
is
> flat)?
>


Reply via email to