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 <[email protected]> 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