HI All,
Is there any function within the MC that can determine whether a trendline is in uptrend or downtrend?
I want to develop a strategy that make long/short decision based on whether some indicators (such as ADX in DMI) is in uptrend or downtrend.
Tks.
Martin
function for uptrend or downtrend
- TJ
- Posts: 7740
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2221 times
Re: function for uptrend or downtrend
HI All,
Is there any function within the MC that can determine whether a trendline is in uptrend or downtrend?
I want to develop a strategy that make long/short decision based on whether some indicators (such as ADX in DMI) is in uptrend or downtrend.
Tks.
Martin
When ADX > ADX[1], the trend line is UP.
- Svetlana MultiCharts
- Posts: 645
- Joined: 19 Oct 2017
- Has thanked: 3 times
- Been thanked: 163 times
Re: function for uptrend or downtrend
Hello, Martin,
There is no such pre-built function, but you can use indicators or code your own for that.
There is no such pre-built function, but you can use indicators or code your own for that.