Jump to content

Post Your EX4 Here -Part 2


Recommended Posts

Anyone decompile and educate this ea?

 

EA & DLL:

 

hxxp://www*4shared*com/file/IolVHZjX/ForexRealProfitEA_Demo.html

hxxp://www*4shared*com/file/jFtduZ-T/FRP-EA.html

 

 

indicators:

 

hxxp://www*4shared*com/file/aHVWrgkD/Bands.html

hxxp://www*4shared*com/file/XtsS8c5N/OsMA.html

 

 

 

 

Thanks!

Edited by robbyg
Link to comment
Share on other sites

  • Replies 1.6k
  • Created
  • Last Reply

Top Posters In This Topic

Hello Musketeer, could you give me a hint (or program lines), how to bring a "close all open Orders at ....time" in an EA? Is it difficult to do something like that?

 

http://forum.mql4.com/37823

http://www.seputarforex.com/eng/metatrader/mt4_scripts/close_order_mql4.php

 

look at the OrderOpenTime() function, add the relevant number of seconds to the return value and when that time arrives call OrderClose()

Link to comment
Share on other sites

Anyone can insert an external for magic number please?

 

 

//+------------------------------------------------------------------+

//| Copyright 2006, Malinouski Yury |

//| mailto:[email protected] |

//| version 4.0 |

//| 01.04.2006 |

//+------------------------------------------------------------------+

 

// Çà îñíîâó âçÿò ýêñïåðò MA cross.mq4 (àâòîð Alexey42)

// Äîáàâëåíû ñëåäóþùèå ïàðàìåòðû: ma_method, TrailingStop, applied_price

// Ýêñïåðò îòêðûâàåò è çàêðûâàåò ïîçèöèè ïî ôàêòó ïåðåñå÷åíèÿ ñðåäíèõ

// Êòî ñìîæåò ðåàëèçîâàòü âûñòàâëåíèå stop_loss ïî ïàðàáîëèêó?

 

extern int ma_fast=8; // Ïåðèîä áûñòðîé ÌÀ

extern int ma_slow=21; // Ïåðèîä ìåäëåííîé ÌÀ

extern double ma_method=1;/*MODE_SMA 0 Ïðîñòîå ñêîëüçÿùåå ñðåäíåå

MODE_EMA 1 Ýêñïîíåíöèàëüíîå ñêîëüçÿùåå ñðåäíåå

MODE_SMMA 2 Ñãëàæåííîå ñêîëüçÿùåå ñðåäíåå

MODE_LWMA 3 Ëèíåéíî-âçâåøåííîå ñêîëüçÿùåå ñðåäíåå

*/

extern int stop_loss=110;

extern int take_profit=370;

extern double TrailingStop=110;

extern double applied_price=0;/*PRICE_CLOSE 0 Öåíà çàêðûòèÿ

PRICE_OPEN 1 Öåíà îòêðûòèÿ

PRICE_HIGH 2 Ìàêñèìàëüíàÿ öåíà

PRICE_LOW 3 Ìèíèìàëüíàÿ öåíà

PRICE_MEDIAN 4 Ñðåäíÿÿ öåíà, (high+low)/2

PRICE_TYPICAL 5 Òèïè÷íàÿ öåíà, (high+low+close)/3

PRICE_WEIGHTED 6 Âçâåøåííàÿ öåíà çàêðûòèÿ, (high+low+close+close)/4 */

extern int ma_shifft=0; // Ñäâèã èíäèêàòîðà îòíîñèòåëüíî öåíîâîãî ãðàôèêà

extern double Lots=0.1;

double m1=1;

double m2=1;

double s1=1;

double s2=1;

double b=1;

int cnt=0;

//-------------------------------------------------------------------------------------------------------------

 

 

int start()

{

if (b<Bars)

{

m1=iMA(NULL,0,ma_fast, ma_shifft, ma_method, applied_price, 1);

m2=iMA(NULL,0,ma_fast, ma_shifft, ma_method, applied_price, 2);

s1=iMA(NULL,0,ma_slow, ma_shifft, ma_method, applied_price, 1);

s2=iMA(NULL,0,ma_slow, ma_shifft, ma_method, applied_price, 2);

 

if (OrdersTotal()<1)

{

if

((s2>m2)&&(s1<m1))

{

OrderSend(Symbol(),OP_BUY,Lots,Ask,3,Ask-stop_loss*Point,Ask+take_profit*Point,"buy60",1221,0,Blue);

b=Bars;

}

if

((s2<m2)&&(s1>m1))

{

OrderSend(Symbol(),OP_SELL,Lots,Bid,3,Bid+stop_loss*Point,Bid-take_profit*Point,"sell60",1222,0,Red);

b=Bars;

}

}

 

 

 

for(cnt=0;cnt<4;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 ((s2<m2)&&(s1>m1)&&(b<Bars))

{b=Bars;

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

OrderSend(Symbol(),OP_SELL,Lots,Bid,3,Bid+stop_loss*Point,Bid-take_profit*Point,"sell60",1222,0,Red);

return(0); // exit

}

// check for trailing stop

if(TrailingStop>0)

{

if(Bid-OrderOpenPrice()>Point*TrailingStop)

{

if(OrderStopLoss()<Bid-Point*TrailingStop)

{

OrderModify(OrderTicket(),OrderOpenPrice(),Bid-Point*TrailingStop,OrderTakeProfit(),0,Green);

return(0);

}

}

}

}

else // go to short position

{

// should it be closed?

if ((s2>m2)&&(s1<m1)&&(b<Bars))

 

 

{b=Bars;

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

OrderSend(Symbol(),OP_BUY,Lots,Ask,3,Ask-stop_loss*Point,Ask+take_profit*Point,"buy60",1221,0,Blue);

return(0); // exit

}

// check for trailing stop

if(TrailingStop>0)

{

if((OrderOpenPrice()-Ask)>(Point*TrailingStop))

{

if((OrderStopLoss()>(Ask+Point*TrailingStop)) || (OrderStopLoss()==0))

{

OrderModify(OrderTicket(),OrderOpenPrice(),Ask+Point*TrailingStop,OrderTakeProfit(),0,Red);

return(0);

}

}

}

}

}

}

 

 

 

//----

return(0);

}

}

Link to comment
Share on other sites

Hello my dear frend's This is one good EA here,But backtest repoting is balance only show equity not come pl correct and work it friends!..

I NEED YOUR SUPPORT AND HELPS

 

Link is here: http://forexsystems.ru/attachment.php?attachmentid=17935&d=1278500483

Pl help me my problems.

Thank you

 

maskumareshraja

 

it backtests ok, do not understand what you need. can you put some picture?

Link to comment
Share on other sites

Guest maskumareshraja

dear sir this EA is only backtest reselt but not working on REAL AND DEMO ACCOUNT

if any EA'S backtest report TesterGraph balance/Equity every tick(the most precise method based on all available least time frames to generate each tick)

so pls work on REAL AND DEMO change the EA SORRY FOR THE DISTRAPENCE AND bad english

Quote Originally Posted by maskumareshraja View Post

Hello my dear frend's This is one good EA here,But backtest repoting is balance only show equity not come pl correct and work it friends!..

I NEED YOUR SUPPORT AND HELPS

 

Link is here: http://forexsystems.ru/attachment.php?attachmentid=17935&d=1278500483

 

Pl help me my problems.

Thank you

 

maskumareshraja

see the report and testgraph

http://www.multiupload.com/0KXJ0YT7HH

Link to comment
Share on other sites

Guest maskumareshraja

Please modify this ea

 

EA link http://www.multiupload.com/8D4P05S1XS

 

THIS IS EA WORK VERY FINE BUT SOMEMODIFICATION NEEDED

 

I WILL EXPLAIN EA WORKS

 

STEP 1:19PIPS

STEP2:10PIPS

HEDGE;TRUE

 

THAT IS EA OPEN TRADE ON 19 PIPS GAP IN I STEP

 

AND 10PIPS GAP OPEN TRADE IN 2ND STEP

 

BUT MARKET REVERSE MEANS AND TOUCH THE SAME OPEN POSITION AND AGAIN SAME 19 PIPS GAP AND 10PIP GAP OPEN ORDER

 

THIS REVERSE WAS NOT WANTED PLEASE MODIFY THE AGAIN ORDER

 

I EXPECTING YOUR KINDFULL COOPERATION THANKING YOU

Link to comment
Share on other sites

Hello, a476713:By chance, I saw your request. I finished one in a rush. I cannot test them since you did not include manuals. But take note that that EA does not detect 4 digit or 5 digit. I just change all ordersend() to be compatible with ECN.

http://www.4shared.com/file/xekj1ajg/GRU.html

 

Can anyone decompile this EA? http://www.4shared.com/file/T_j7gLvk/KangarooEAv41.html Then I can educate it.

Edited by cnuse
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.




×
×
  • Create New...