Hello,
i need a script or indicator that makes a Trend analyses and prints a txt file with the result.
SMA: You should check some, maybe 10, simple moving averages for trend. For example, if the close is over the sma or the sma is rising.
HighLow: you check if the HighLow Channels, maybe 10, is rising or following
Macd: you check if the signal line is over the trigger line and if the macd is over the zero line (maybe you can use diferent periods )
Then mt4 prints a txt. file with the information link this:
-----------------------
What does the trend analysis say for the EURUSD?
Moving averages: Here it is analyzed whether the GDs of EURUSD are increasing. An upward trend is characterized by rising GDs. Out of a total of 10 moving averages, 8 are increasing. In this respect, it can be described as bullish. In addition, the price is also above 7 GDs, so we have a good upward trend.
Macd indicator: The popular EURUSD oscillator now analyzes whether the trigger line is below the signal line. It is also checked whether the Macd tends to be above zero. Out of a total of 10 Macd analyzes, great 9 are positive. That is mega bullish.
High-low indicator: The last thing that is checked is whether the EURUSD has higher lows and new highs. Because higher highs and rising lows mark an upward trend. Out of a total of 10 HighLows, 7 are increasing. Here you can say that this is bullish. Let's look at the overall rating!
Now we come to the overall evaluation.
Of a total of 30 evaluation criteria, 24 can be described as positive. That's 80%. The status should be set to “very bullish” here. From this point of view, it is advisable to look for an entry into EURUSD or to remain invested.