Re: No Nonsense Forex - Indicators

81
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.
These users thanked the author Centaur for the post:
xpf2003
半人馬座
Bàn rénmǎzuò

If you enjoy my work please hit the like button, to show some support.
All comments, criticism, advise or general ideas are more than welcome. In fact its crucial to have a continues learning / developing mechanism not just for me but all fellow market enthusiasts.


Re: No Nonsense Forex - Indicators

82
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

83
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;
        }
  }
These users thanked the author Centaur for the post:
xpf2003
半人馬座
Bàn rénmǎzuò

If you enjoy my work please hit the like button, to show some support.
All comments, criticism, advise or general ideas are more than welcome. In fact its crucial to have a continues learning / developing mechanism not just for me but all fellow market enthusiasts.

Re: No Nonsense Forex - Indicators

84
Supertrend
Converted Tradingview Indicator: https://in.tradingview.com/script/r6dAP7yi/
These users thanked the author Centaur for the post (total 3):
xpf2003, thomdel, tradd
半人馬座
Bàn rénmǎzuò

If you enjoy my work please hit the like button, to show some support.
All comments, criticism, advise or general ideas are more than welcome. In fact its crucial to have a continues learning / developing mechanism not just for me but all fellow market enthusiasts.

Re: No Nonsense Forex - Indicators

85
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:
These users thanked the author Centaur for the post:
xpf2003
半人馬座
Bàn rénmǎzuò

If you enjoy my work please hit the like button, to show some support.
All comments, criticism, advise or general ideas are more than welcome. In fact its crucial to have a continues learning / developing mechanism not just for me but all fellow market enthusiasts.


Re: No Nonsense Forex - Indicators

86
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
半人馬座
Bàn rénmǎzuò

If you enjoy my work please hit the like button, to show some support.
All comments, criticism, advise or general ideas are more than welcome. In fact its crucial to have a continues learning / developing mechanism not just for me but all fellow market enthusiasts.

Re: No Nonsense Forex - Indicators

87
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
  };
半人馬座
Bàn rénmǎzuò

If you enjoy my work please hit the like button, to show some support.
All comments, criticism, advise or general ideas are more than welcome. In fact its crucial to have a continues learning / developing mechanism not just for me but all fellow market enthusiasts.

Re: No Nonsense Forex - Indicators

88
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 ?


Who is online

Users browsing this forum: boytoy, fibo7818, macd & rsi, moey_dw, Ogee and 6 guests