You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Thanks for that Phreak,
I like the way this looks and will forward test and maybe play it a bit too !!
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?
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:
{
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.
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....
i found a kaufman.........
kaufman2.mq4
and TEMA
tema2.mq4
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.