Page 1 of 1

Request for trendline code

Posted: Mon Oct 01, 2007 1:21 pm
by Mister Ticks
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.

Posted: Mon Oct 01, 2007 7:24 pm
by TheRumpledOne
My _SM_Candle2 indicator for radar tells you how many higher/lower high/lows you have.

You can build from there.

Posted: Mon Oct 01, 2007 9:24 pm
by Mister Ticks
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.