Hi Howard,

-ROC(15) is positive. I have tried to change it to ROC(15) but it does not work
either. Just for interest, I have tried with RSI() and it was working but this
is not what I want.

Br,
Zozu

--- In [email protected], Howard B <howardba...@...> wrote:
>
> Hi Zozu --
> 
> If you want a profit target of, say, 2.5 percent, the ApplyStop statement
> wants a positive 2.5 for the third argument.  (See the help files or
> reference manual.)  Plot the array ProfitTarget to see what the values being
> computed by the ROC statement are.  Multiply that array by whatever factor
> is required to give you the amount of profit target you want to use.
> 
> Thanks,
> Howard
> 
> 
> On Thu, Sep 2, 2010 at 6:07 AM, zozuzoza <zoz...@...> wrote:
> 
> >
> >
> > Hi,
> > Does anyone have an idea how to implement dynamic, volatility based
> > profittarget? When the instrument drops more, the profittarget is higher.
> >
> > I tried the following but it does not work.
> > ProfitTarget= -ROC(15);
> > ApplyStop(stopTypeProfit,stopModePercent,ProfitTarget,1,True,0 );
> >
> > Thanks,
> > Zozu
> >
> >  
> >
>


Reply via email to