Page 9 of 26

Re: No Nonsense Forex - Indicators

Posted: Fri Nov 04, 2022 3:23 am
by Centaur
xpf2003 wrote: Fri Nov 04, 2022 1:07 am How do you use this indicator?
As a trend trader I would suggest using it as a secondary confirmation indicator to confirm your entry indicator signal.
You only concentrate on the bottom line, if its blue you need to look at a long position if its red you need to look at a short position.

Re: No Nonsense Forex - Indicators

Posted: Sat Nov 05, 2022 12:39 pm
by xpf2003
Centaur wrote: Fri Nov 04, 2022 3:23 am As a trend trader I would suggest using it as a secondary confirmation indicator to confirm your entry indicator signal.
You only concentrate on the bottom line, if its blue you need to look at a long position if its red you need to look at a short position.
Thanks Centuar.

Can you double check if buffers are updating correctly? I noticed that all buffers showed the same values even if the colour on the plots was changing. I think you have set all DTR buffers to a constant value and only updating the color indexes.

Re: No Nonsense Forex - Indicators

Posted: Sat Nov 05, 2022 5:22 pm
by Centaur
xpf2003 wrote: Sat Nov 05, 2022 12:39 pm Thanks Centuar.

Can you double check if buffers are updating correctly? I noticed that all buffers showed the same values even if the colour on the plots was changing. I think you have set all DTR buffers to a constant value and only updating the color indexes.
The buffer values are of no use, values only indicate the position on the separate window chart. If you are looking to link this indicator to an EA please link it to the color buffers only. I suggest using buffer number 21 as this represent the color of the bottom overall market trend (all condition to agree, if not the buffer takes the value of the previous position). If buffer 21 has a value of 0.0 it represent a long position and if buffer 21 has a value of 1.0 it represent a short position.

Example in EA:

Code: Select all

//--- indicator buffers
double DTR[];
//--- indicator handle
int DTR_Handle;
//+------------------------------------------------------------------+
//| Expert initialization function                                   |
//+------------------------------------------------------------------+
int OnInit()
  {
   DTR_Handle = iCustom(_Symbol, _Period, "Donchian Trend Ribbon", inp_donchian_channel_period);
  }
//+------------------------------------------------------------------+
//| Expert tick function                                             |
//+------------------------------------------------------------------+
void OnTick()
  {
      if(CopyBuffer(DTR_Handle, 21, 0, 100, DTR) < 0)
        {
         PrintFormat("Error loading DTR - DTR data for %s, code %d", _Symbol, GetLastError());
         return;
        }
  }

Re: No Nonsense Forex - Indicators

Posted: Sat Nov 05, 2022 6:01 pm
by Centaur
Supertrend
Converted Tradingview Indicator: https://in.tradingview.com/script/r6dAP7yi/

Re: No Nonsense Forex - Indicators

Posted: Sun Nov 06, 2022 5:42 pm
by Centaur
Centaur wrote: Thu Oct 27, 2022 1:25 am Really interesting approach, I've also done some reading and they suggest using the function SymbolInfoSessionTrade, so I came up with the following function (seems to be working so far):

Code: Select all

//+------------------------------------------------------------------+
//| Function: Check if market is Open                                |
//+------------------------------------------------------------------+
bool MarketOpen()
  {
   datetime from = 0;
   datetime to = 0;
   datetime now = TimeCurrent();
   uint session_index = 0;
   MqlDateTime today;
   TimeToStruct(now, today);
   if(SymbolInfoSessionTrade(_Symbol, (ENUM_DAY_OF_WEEK) today.day_of_week, session_index, from, to))
     {
      MqlDateTime from_time;
      MqlDateTime to_time;
      TimeToStruct(from, from_time);
      TimeToStruct(to, to_time);
      int from_time_seconds = from_time.sec + from_time.min * 60 + from_time.hour * 3600;
      int to_time_seconds = to_time.sec + to_time.min * 60 + to_time.hour * 3600;
      int now_seconds = today.sec + today.min * 60 + today.hour * 3600;
      if(now_seconds >= from_time_seconds && now_seconds <= to_time_seconds)
         return(true);
      return(false);
     }
   return(false);
  }
Found this on youtube:

Re: No Nonsense Forex - Indicators

Posted: Mon Nov 07, 2022 7:43 pm
by Centaur
asbestosman21 wrote: Thu Nov 03, 2022 5:23 am Can anyone convert these indicators to MT4?

https://www.tradingview.com/script/Q9xt ... tors-in-1/

https://www.tradingview.com/script/PxLq ... nd-Ribbon/

Thank you!
For the EFMUS System:
RSI will be a two line cross: RSI with a MA (options: SMA, EMA, RMA, WMA and VWMA) for bullish or bearish trend direction
MACD will be a two line cross: MACD line with signal MA line (options: SMA, EMA, RMA, WMA and VWMA) for bullish or bearish trend direction
PIVOT Point: Price action above PIVOT will be bullish trend direction, price action below PIVOT bearish trend direction. PIVOT Calc to be used is (High + Low + Close)/3 of previous day (D1).
The rest is straight forward

Re: No Nonsense Forex - Indicators

Posted: Tue Nov 08, 2022 10:48 pm
by Centaur
Moving Average Types / Baselines / Smoothing Techniques

Any additions are welcome:

Code: Select all

enum ENUM_MA_TYPE
  {
   SMA,        // Simple
   EMA,        // Exponential
   RMA,        // Rolling
   WMA,        // Weighted
   VWMA,       // Volume Weighted
   VIDYA,      // Variable Index Dynamic Average
   TMA,        // Triangular
   LRMA,       // Linear Regression
   SSF,        // SuperSmoother Filter
   FIR,        // Finite Impulse Response
   ZLEMA,      // Zero Lag Exponential
   KAMA,       // Kaufman's Adaptive
   KIJUN,      // Kijun-sen
   G_CHANNEL,  // G Channel
   ALMA,       // Arnaud Legoux
   HMA         // Hull
  };

Re: No Nonsense Forex - Indicators

Posted: Fri Nov 11, 2022 1:01 am
by tradd
Centaur wrote: Tue Nov 08, 2022 10:48 pm Moving Average Types / Baselines / Smoothing Techniques

Any additions are welcome:

Code: Select all

enum ENUM_MA_TYPE
  {
   SMA,        // Simple
   EMA,        // Exponential
   RMA,        // Rolling
   WMA,        // Weighted
   VWMA,       // Volume Weighted
   VIDYA,      // Variable Index Dynamic Average
   TMA,        // Triangular
   LRMA,       // Linear Regression
   SSF,        // SuperSmoother Filter
   FIR,        // Finite Impulse Response
   ZLEMA,      // Zero Lag Exponential
   KAMA,       // Kaufman's Adaptive
   KIJUN,      // Kijun-sen
   G_CHANNEL,  // G Channel
   ALMA,       // Arnaud Legoux
   HMA         // Hull
  };
Jurik ?

Re: No Nonsense Forex - Indicators

Posted: Sat Nov 12, 2022 12:31 am
by asbestosman21
Interesting indicators attached.

Re: No Nonsense Forex - Indicators

Posted: Sat Nov 12, 2022 12:33 am
by asbestosman21
Hey Centaur, anyway to convert this to MT4?
Centaur wrote: Thu Nov 03, 2022 11:57 pm Donchian Trend Ribbon
Converted tradingview indicator: https://www.tradingview.com/script/PxLq ... nd-Ribbon/