Re: Trend Indicators for MT4

694
太虚一毫 wrote:Thu Mar 11, 2021 12:37 pm Lines 233 and 234 are "alarm text", right? I think these two strings of text are written in reverse, "trend changed to up" should be on the back line, and "trend changed to down" should be on the front line. I don't know, right?
Yes try changing

Code: Select all

if (trena[whichBar]== 1) doAlert(whichBar,"trend changed to up");
         if (trena[whichBar]==-1) doAlert(whichBar,"trend changed to down");
to

Code: Select all

if (trena[whichBar]==  -1) doAlert(whichBar,"trend changed to up");
         if (trena[whichBar]== 1) doAlert(whichBar,"trend changed to down");


Re: Trend Indicators

700
colorwind wrote:Thu Mar 25, 2021 6:05 am Hello experts:

This indicator works fine on current time frame. But in MTF (like 5M on 1M chart), the signal REPAINTS. Can you please take a look and make it non-repaint, thanks.
Hi,it is normal in mtf mode.
For example you use 1hour mtf in 15 min chart. You have 4 time chance to change direction,up/down.But after 1hour candle close,its no repaint.....


Who is online

Users browsing this forum: DotNetDotCom [Bot], Google [Bot], Intrest 1, Trendiction [Bot], vvFish, Yandex [Bot] and 99 guests