Page 1 of 1

is it possible to use trailing stop trigger as indicator?

Posted: 25 Feb 2011
by justmake
Hello,

Is it possible to use trailing stop of one symbas as indicator of another symbol?

I found when I run a trailing stop on one symbol A, when the trailing stop order is triggerd, it is also useful an indicator of exiting symbol B. But I wonder if we can code this in power language.

Code: Select all

Workspace on Symbol A
Buy 100 shares next bar at market ;
SetStopPosition;
SetDollarTrailing(DollarT);
Usually we make symbol A as data 2 and use indicator of data2 as indicator of data1( Symbol B).

But can we use the trigger point of DollarTraing(DollarT) of data 2 as indicator of data1?
As far as I know we cannot trade on data 2 so no trigger point of data 2 can be calculated.

Any good idea?

thanks.

Re: is it possible to use trailing stop trigger as indicator

Posted: 28 Mar 2011
by TJ
Hello,

Is it possible to use trailing stop of one symbas as indicator of another symbol?

I found when I run a trailing stop on one symbol A, when the trailing stop order is triggerd, it is also useful an indicator of exiting symbol B. But I wonder if we can code this in power language.

Code: Select all

Workspace on Symbol A
Buy 100 shares next bar at market ;
SetStopPosition;
SetDollarTrailing(DollarT);
Usually we make symbol A as data 2 and use indicator of data2 as indicator of data1( Symbol B).

But can we use the trigger point of DollarTraing(DollarT) of data 2 as indicator of data1?
As far as I know we cannot trade on data 2 so no trigger point of data 2 can be calculated.

Any good idea?

thanks.
if you want to pass data (info) between charts,
do a search for ADE (All Data Everywhere).

Re: is it possible to use trailing stop trigger as indicator

Posted: 29 Mar 2011
by justmake
Hello,TJ,

Thanks, it seems to be the way to do it.
Is it easier to use default Global variable than using ADE?

Just want to know your opinion.

thanks.
Justmake