Request for trendline code

post your indicators here

Moderator: moderators

User avatar
Mister Ticks
rank: <50 posts
rank: <50 posts
Posts: 2
Joined: Mon Oct 01, 2007 1:12 pm
Reputation: 0
Gender: None specified

Request for trendline code

Postby Mister Ticks » Mon Oct 01, 2007 1:21 pm

Hello All - I've been lurking around these forums for a few weeks now and this is my first post so I hope I'm in the right place and it's received OK! I am completely new to trading and TradeStation.

I'm looking for Tradestation indicator code that will plot a trend when it has a minimum of three new lows or three new highs. There is an indicator in TradeStation at the moment called auto trends but it plots swing highs with swing lows and vice versa. I have tried to edit the code in a new indicator that will draw a line under lows or highs but can't seem to get it to work!

I've looked around a few forums and can't see anything similar which leads me to think that it's not possible or it would be available already!

If anyone could help me I would really appreciate it!


Thanks - Gavin.

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

User avatar
TheRumpledOne
rank: 10000+ posts
rank: 10000+ posts
Posts: 15558
Joined: Sun May 14, 2006 9:31 pm
Reputation: 3035
Location: Oregon
Real name: Avery T. Horton, Jr.
Gender: None specified
Contact:

Postby TheRumpledOne » Mon Oct 01, 2007 7:24 pm

My _SM_Candle2 indicator for radar tells you how many higher/lower high/lows you have.

You can build from there.
IT'S NOT WHAT YOU TRADE, IT'S HOW YOU TRADE IT!

Please do NOT PM me with trading or coding questions, post them in a thread.

User avatar
Mister Ticks
rank: <50 posts
rank: <50 posts
Posts: 2
Joined: Mon Oct 01, 2007 1:12 pm
Reputation: 0
Gender: None specified

Postby Mister Ticks » Mon Oct 01, 2007 9:24 pm

TheRumpledOne wrote:My _SM_Candle2 indicator for radar tells you how many higher/lower high/lows you have.

You can build from there.


Hi TRO - Thanks for that. I'll mess around with the code and hopefully learn something! If I do, I'll post it.

Appreciate it,


Gavin.

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


Return to “Tradestation indicators”