Royal Straight Flush HFT EA

Back to topics list To post a new topic, please log in or register
avatar
19
noob01 2015.07.20 14:49
 

Sharing a great EA: Pick/get valiant rare mega-bubble points so far away from majority market noise points-> Sequence more Turning point with deepness/MTF.

The code read 10% Day Move (20100 analysis per move).

In near future will peruse a month tick by tick. The party is starting.

//+------------------------------------------------------------------+
//|                                                           EA.mq4 |
//+------------------------------------------------------------------+
void OnTick(void)
{int t,n;double A;double b[10200],a[10200];for(int h=0;h<(10200);h++){b[h]=iCustom(NULL,0,"Tick Chart",0,h);a[h]=iCustom(NULL,0,"Tick Chart",2,h);}
double C[200][51],D[200][51],E[200][51],F[200][51];
for(int d=0;d<200;d++){for(int H=0;H<51;H++){C[d][H]=b[d*H];D[d][H]=b[d*H];E[d][H]=a[d*H];F[d][H]=a[d*H];
for(int j=0;j<d;j++){if(d==0){C[d][H]=b[j];D[d][H]=b[j];E[d][H]=a[j];F[d][H]=a[j];}
else{C[d][H]=MathMax(C[d][H],b[(d*H)+j+1]);D[d][H]=MathMin(D[d][H],b[(d*H)+j+1]);E[d][H]=MathMax(E[d][H],a[(d*H)+j+1]);F[d][H]=MathMin(F[d][H],a[(d*H)+j+1]);}}}
for(n=1;n<51;n++){
if((C[d][n]<C[d][n+1])&&(D[d][n]<D[d][n+1])&&(E[d][n]<E[d][n+1])&&(E[d][n]<E[d][n+1])){continue;}else{break;}}
if((n==51)&&(C[d][0]>C[d][1])&&(D[d][0]>D[d][1])&&(E[d][0]>E[d][1])&&(F[d][0]>F[d][1])&&(C[d][0]-C[d][1])<=(C[d][2]-C[d][1])&&(D[d][0]-D[d][1])<=(D[d][2]-D[d][1])&&(E[d][0]-E[d][1])<=(E[d][2]-E[d][1])&&(F[d][0]-F[d][1])<=(F[d][2]-F[d][1]))
{A=MathMax(E[d][51]-F[d][1],C[d][51]-D[d][1]);t=OrderSend(Symbol(),OP_BUY,NormalizeDouble(AccountFreeMargin()*0.02/1000,1),Ask,3,Ask-A*Point,Ask+A*Point,"EA",10000,0,Blue);}
for(n=1;n<51;n++){
if((C[d][n]>C[d][n+1])&&(D[d][n]>D[d][n+1])&&(E[d][n]>E[d][n+1])&&(E[d][n]>E[d][n+1])){continue;}else{break;}}
if((n==51)&&(C[d][0]<C[d][1])&&(D[d][0]<D[d][1])&&(E[d][0]<E[d][1])&&(F[d][0]<F[d][1])&&(C[d][1]-C[d][0])<=(C[d][1]-C[d][2])&&(D[d][1]-D[d][0])<=(D[d][1]-D[d][2])&&(E[d][1]-E[d][0])<=(E[d][1]-E[d][2])&&(F[d][1]-F[d][0])<=(F[d][1]-F[d][2]))
{A=MathMax(E[d][1]-F[d][51],C[d][1]-D[d][51]);t=OrderSend(Symbol(),OP_SELL,NormalizeDouble(AccountFreeMargin()*0.02/1000,1),Bid,3,Bid+A*Point,Bid-A*Point,"EA",10000,0,Red);}}}

 Helps are coming!!! 0;`>)]}

Attached files:
  ticknchart.mq4  (2.87 KB)
avatar
19
noob01 2015.07.26 04:48 #
 

PARTY MAP (WILL NOT HAVE END)

Back to topics list  

To add comments, please log in or register