Indicators: Trend direction and force - DSEMA smoothed

 

Trend direction and force - DSEMA smoothed:

Trend direction and force - double smoothed EMA smoothed

Trend direction and force - DSEMA smoothed

Author: Mladen Rakic

 
finally an interesting indicator, if used in the correct way can have many good entries, this indicator greatly reduces false entries. I hope to see more good indicators like this!
 
mladen, can you make the barcolor version of this indicator, this is the god, completes my pieces of puzzles, many thanks !
god bless you mladen
 
kwlin_089:
finally an interesting indicator, if used in the correct way can have many good entries, this indicator greatly reduces false entries. I hope to see more good indicators like this!

Hello Kwlin_089 how are you using this ? I changed the period to 14 and am backtesting for it to cross the upper or lower levels before I enter.

Kind regards,

 

Hello,
I would very much like to instantiate the indicator within my EA.
Placed here to follow the code, can't I figure out where I'm wrong?


input int      TDF_Periode = 20;                                     //Period Trend Directional and Force
input double   TDF_Smoothing = 3;                                    //Smoothing period
input double   TDF_Trigger_UP = 0.05;                                //Trend Directional and Force Level UP
input double   TDF_Trigger_DOWN = -0.05;                             //Trend Directional and Force Level DOWN

int _Handle_TDF;


int OnInit()
  {
   _Handle_TDF=iCustom(_Symbol,PERIOD_CURRENT,"Trend direction and force",
                        TDF_Periode,
                        TDF_Smoothing,
                        TDF_Trigger_UP,TDF_Trigger_DOWN);

   if(_Handle_TDF==INVALID_HANDLE)
      return(INIT_FAILED);

   return(INIT_SUCCEEDED);
  }


Thank you very much, this indicator is very nice.

 
marco.tonchella:

Hello,
I would very much like to instantiate the indicator within my EA.
Placed here to follow the code, can't I figure out where I'm wrong?



Thank you very much, this indicator is very nice.

Use correct indicator name
 
Mladen Rakic:
Use correct indicator name
I got the most obvious thing wrong, I would rather need to understand the indicators, can you give me a few examples?
Thank you
 
   //OnTick
   CopyBuffer(_Handle_TDF,0,0,10,arrData0);
   CopyBuffer(_Handle_TDF,1,0,10,arrData1);
   CopyBuffer(_Handle_TDF,2,0,10,arrData2);
   CopyBuffer(_Handle_TDF,3,0,10,arrData3);
   
   string ValoriDaStampare="arrData0[0]->"+(string)NormalizeDouble(arrData0[0],6);
   ValoriDaStampare += "\n" + "arrData1[0]->"+(string)NormalizeDouble(arrData1[0],6);
   ValoriDaStampare += "\n" + "arrData2[0]->"+(string)NormalizeDouble(arrData2[0],6);
   ValoriDaStampare += "\n" + "arrData3[0]->"+(string)NormalizeDouble(arrData3[0],6);
   ValoriDaStampare += "\n\n" + "BID->"+(string)NormalizeDouble(BID,6);
   ValoriDaStampare += "\n" + "ASK->"+(string)NormalizeDouble(ASK,6);
   
   //Stampa sullo schermo
   Comment(ValoriDaStampare);
Hello, this is my code for test this beautiful indicator.
I don't understand what is it the valuse of arrData2 and  arrData3 ? 
Thanks you.
 
Please make a version of this indicator with MTF/Alerts/Arrows
 
wonderful indicator sir. definitely using this in my next EA ! 
 
Sensational and wonderful indicator! I will definitely try it! ;)
Reason: