Phreaky Phorex Successful Manual EA Needs Coding Experts - page 8

 

Thanks for that Phreak,

I like the way this looks and will forward test and maybe play it a bit too !!

 
AdamDuritz99:
After doing a backwards test, I opened the actual chart and it's making trades with out the lines crossing. Maybe I'm reading this wrong?

The system as written, enters trades intrabar.

It can also be possible that the indicators are peeking... Can anyone check the possibility?

 
Maji:
The system as written, enters trades intrabar. It can also be possible that the indicators are peeking... Can anyone check the possibility?

Explain what you mean by peeking and I'll check.

 

Yeah, they are peaking or something is wrong. To get a journal log of what the DMA & TMA values are, I modified the code to this:

if((DMA1TMA2))

{

CloseLongs();

if(CountShorts()<MaxTrades)

{

Print ("DMA1: ", DMA1);

Print ("DMA2: ", DMA2);

Print ("TMA1: ", TMA1);

Print ("TMA2: ", TMA2);

ticket = OpenPendingOrder(OP_SELL,2*iLots,Bid,Slippage,Ask,StopLoss,TakeProfit1,EAName+"-1st",MagicNumber,0,HotPink);

if(ticket<0){Print("Error: ",GetLastError()); return(0);}

ticket = OpenPendingOrder(OP_SELL,iLots,Bid,Slippage,Ask,StopLoss,TakeProfit2,EAName+"-2nd",MagicNumber,0,HotPink);

if(ticket<0){Print("Error: ",GetLastError()); return(0);}

ticket = OpenPendingOrder(OP_SELL,iLots,Bid,Slippage,Ask,StopLoss,TakeProfit3,EAName+"-3rd",MagicNumber,0,HotPink);

if(ticket<0){Print("Error: ",GetLastError()); return(0);}

}

}

Here are the journal entries for Oct 2 at 23:40:

2006.11.08 21:36:53 2006.10.02 23:40 Phreak System GBPUSD,M5: open #21 sell 0.10 GBPUSD at 1.8862 tp: 1.8762 ok

2006.11.08 21:36:53 2006.10.02 23:40 Phreak System GBPUSD,M5: open #20 sell 0.10 GBPUSD at 1.8862 tp: 1.8812 ok

2006.11.08 21:36:53 2006.10.02 23:40 Phreak System GBPUSD,M5: open #19 sell 0.20 GBPUSD at 1.8862 tp: 1.8852 ok

2006.11.08 21:36:53 2006.10.02 23:40 Phreak System GBPUSD,M5: TMA2: 1.8865

2006.11.08 21:36:53 2006.10.02 23:40 Phreak System GBPUSD,M5: TMA1: 1.8865

2006.11.08 21:36:53 2006.10.02 23:40 Phreak System GBPUSD,M5: DMA2: 1.8865

2006.11.08 21:36:53 2006.10.02 23:40 Phreak System GBPUSD,M5: DMA1: 1.8865

The DMA's and TMA's all equal 1.8865, which is nowhere near accurate for what is printed on the chart.

Files:
char2t.gif  26 kb
 

I think it is changing its value after a few bars. Suppose now it is 1.2 and the value should remain that. However, after a few bars, it changes its value to 1.3. This may be a major bug in the indicators.

 

Vidya??

another VIDYA....

Files:
 

i found a kaufman.........

kaufman2.mq4

Files:
kaufman2.mq4  4 kb
 

and TEMA

tema2.mq4

Files:
tema2.mq4  3 kb
 

ok guys ive been playing with the settings from the 2 indicators posted above and this is what i came up with:

Kaufman2= periodAMA=177

nfast= 15

nslow= 10

G= 2

TEMA2= EMAPeriod= 35

EMAPrice= 0

 

Entry filter needed

Maji,

I think this EA needs different entry strategy.

Maybe bar close will be better to open a trade.

Or maybe cross + difference between DEMA and VIDYA above certain level.

Look below what happend during forward testing today.

Trading this manually I wouldnt even noticed that cross and still was long.

Files:
gbpusd1.gif  16 kb
Reason: