PIPPRO strength momentum indicator

 

Indicator logic


Anyone want to code this?


time frames:M1/M5/M15/M30/H1/H4/D1


PERIOD 1 : 30  //LAST 30 CANDLES  average percentage value  30 candles // show percentage strength on history

PERIOD 2 :15    //LAST 15 CANDLES  average percentage value  of 15  candles // show percentage strength on history

PERIOD 3 10  //LAST 10 CANDLES  average percentage value of   last  10 candles  // show percentage strength on history


When  period 3 crosses period 2 and period 1 and 2 cross period 3  = result from -120 to 120 // if falling market results will be below -0   , if rising market result will be above 0  to 120.


calculation of each bar 

1) close in candle price / open to close candle price 

example  low to high 20 pips //rising 

low to  close  17 pips //rising

candle value 85%  //17/20

if falling , candle value -85%


Indicator values :

If period 3  %  > than period 2 = +20 

if period  3 % > than period  1  = +20

if period  3&2 % > than period  1  = +20

 // show percentage strength on history


If time frame 1 :m30  signal  == +10  // // show percentage strength on history

If time frame 1 :m15  signal  == +10  // // show percentage strength on history

If time frame 1 :m1  signal  == +10  // // show percentage strength on history

If time frame 1 :m60  signal  == +10  // // show percentage strength on history

If time frame 1 :H1  signal  == +10  // // show percentage strength on history

If time frame 1 :H4  signal  == +10  // // show percentage strength on history


Average value of all candles > 50  %  show +10 

average value of all candles  <50 show -10


Above is an indicator code

below is the parameters for an EA



iNDICATOR SIGNAL   + 80 FOR BUY  ..-80 FOR SELL

input bool UseHedge=false;

input int TakeProfitForHedge=500;

input int DistanceBetweenInitialAndHedge=500;

input int StopLossForHedge=1000;

input int HedgeMagicNumber=4391;

input bool UseMartingale=true;

extern int TakeProfit=300;

input bool UseNormalSL=false;

extern int StopLoss=300;

input int SignalPer24=1;

input int MaxDev=3;

input bool  DoScreenShots=false; // Makes screen shots when a trade is open

extern bool      Disable_Comments=false;          // EA will not display comments on screen

input string CloseOnTimeEveryDay="00:00";

input bool UseCloseFriday=true;

input string FridayCloseTime="19:00";

input bool UseTrailingStandat=true;

extern int TrailingStart=100;

extern int TrailingStop=100;

extern int TrailingStep=5;

input string StartOnMonday="10:00";

input string StartTime1="07:01";

input string CloseTime="23:45";

 
 
Marco vd Heijden:
Freelance 

i made it into a trading system now, with system parameters.

 
EA-trader:

i made it into a trading system now, with system parameters.

Great !

Start here.

 
The first page is a good example of an order for a coder
Reason: