Sharpest Entry and Exit point

 

anyone care to share your code to enter and exit sharply?

i think mine is not the best.


int Entry(int TF)
{
double Curr_R = iCustom(NULL, TF, "RangerEA", R_MA, R_Mode, R_Shift, 0, 1);
double Prev_R = iCustom(NULL, TF, "RangerEA", R_MA, R_Mode, R_Shift, 0, 2);

if(Curr_R > 0 && Prev_R < 0) return(1); // BUY Signal
if(Curr_R < 0 && Prev_R > 0) return(2); // SELL Signal
}


this code enters and exit one bar late.

 

Are these entries sharp enough? Achieved by using PrecisionTypeA EA

The single red dash above/below the arrow shows the SL. The dashed line is the trajectory to its TP/closed position



 

do you have the codes?

those are quite good.

 

anyway

these are mine

 
doshur:

do you have the codes?

those are quite good.

Wish I had. Only have the ex4 file as it is a commercial EA. The author has the 'blueprint' in this discussion:

'Self learning probabilistic neural network (PNN)'

Reason: