Tradestation indicators

post your indicators here

Moderator: moderators

khalid
rank: 50+ posts
rank: 50+ posts
Posts: 110
Joined: Wed Mar 14, 2007 2:15 pm
Reputation: 0
Location: Lahore
Gender: Male

Tradestation indicators

Postby khalid » Sat Feb 02, 2008 3:51 am

I want to write:

SellShort ONLY if last trade was a Buy;
Buy ONLY if last trade was a SellShort.

But have no success describing the last trade. I have used LastTrade. prevMarketPosition, MarketPosition[1], and a few others.

Thank you

Regards,
Khalid

Please add www.kreslik.com to your ad blocker white list.
Thank you for your support.

khalid
rank: 50+ posts
rank: 50+ posts
Posts: 110
Joined: Wed Mar 14, 2007 2:15 pm
Reputation: 0
Location: Lahore
Gender: Male

Postby khalid » Sun Feb 03, 2008 2:33 pm

A simple

Vars: prevMarketPosition(0);

has resolved the matter!!!!!!!!!!!!!


Return to “Tradestation indicators”