Stochastic v1 - page 2

sadaloma
710
sadaloma  
BrunoFX:
I attach statement this EA but you will have not to take into account the first 3 orders, they did not work with this EA. It would also seem that statement has preoccupations with an alignement between the columns and "swap" corresponds to the "profit"

Isn't it weird that the EA only have SELL trades? no BUY?

Is something wrong with the code or it's how the market is at the moment?

Sada

-------EDIT-------

My bad, I just tested the Ea and there was a BUY order

BrunoFX
1177
BrunoFX  
zuhainis
57
zuhainis  

// it is important to enter the market correctly,

// but it is more important to exit it correctly...

for(cnt=0;cnt<total;cnt++)

{

OrderSelect(cnt, SELECT_BY_POS, MODE_TRADES);

if(OrderType()<=OP_SELL && // check for opened position

OrderSymbol()==Symbol()) // check for symbol

{

if(OrderType()==OP_BUY) // long position is opened

{

// should it be closed?

if((StochasticGreen<StochasticRed))

{

OrderClose(OrderTicket(),OrderLots(),Bid,3,Violet); // close position

return(0); // exit

}

The exit don't check for magic number so the EA tend to close other trade open by other EA(I think). Can somebody fix this please.

kumawat
153
kumawat  

back testing

i did back test. it give very nice results on 4hr and even better on daily chart

how can i use it for multipule pairs i mean eurusd, gbpusd, usdchf same time.

is it possible if i open seprate account from each pair but all accounts running on same PC.

zuhainis
57
zuhainis  

No Trade

EA didn't open any trade since I upgrade to build 188, anybody else have the same problem?

rayz
20
rayz  

Stoch And GMT Filter.

Hello everyone.

i need some help from coder.

i need simple ea using stoch and gmt filter to testing for trading.

stoch is very simple indicator to using for scalping but not suitable at all time, so need to put gmt filter.

very simple rule for enter trade using stoch indicator when line stoch cross at level 80(sell), when cross up at level 20 open buy.

simple setting like TP,SL,lot,stealth mode and mm control for ea.

"sorry for my english"