Forex Forum - EarnForex
Serving Traders Since 2005
 

Go Back   Forex Forum - EarnForex > MetaTrader > MetaTrader Expert Advisors

MetaTrader Expert Advisors Post and discuss the MetaTrader expert advisors here.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10th December 2011, 16:31
Default Avatar
Junior Member
 
Join Date: Dec 2011
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default Need to modify and code EA

EMAT-Trading-System-2010
Sea Dragon2 v1
Take Profit

There are 3 softwares having one common feature but check it on demo for 1 day.
1) EMAT-Trading-system-2010
Any script with any lot size
Candle should be 1m for fast checking. And maximum open trade: 20
This software compensates negative trade.
2) Take Profit: This software is made to compensate negative trades.
3) Sea Dragon2 v1: Can anyone change compensating trade system little slower in this software as it takes very big lot size and if still if it is not compensated free margin and then equity goes towards 00. Account will be closed. To try its demo
Use Take Profit 5 , Lot size 0.1, account Balance: $2000, sl: 10 max sl :150, Tp: 5, Tp2 : 2, weishu 1.0


This is somewhat same software need coding which will decrease risk factor associated in above 3 softwares.

Trend_Tp_EA

There should be only 2 parameters anyone can change in this software and those are
a. Lot Size : 0.1 ( default )
b. Take Profit ( default )
( There is no stop loss in this EA )
Once Ea is started parameters can’t be changed.
It will take 1st trade according to current market movement direction ( say, sell Trade ).
If it crosses 1st take profit limit ( 10 pip ), it will put another trade in the same direction. If again it gains take profit. It repeats it again but at this time if it don’t cross the limit and returns back and trade is exactly negative ( -10pip) than take profit limit it will put opposite direction Trade ( Buy Trade ). It continues doing this.
Now if any trade is negative exactly 4 times its take profit limit ( -40pip here ), it will try to compensate this trade.
Compensating Strategy: Any trade which is negative exactly 4 times its take profit limit ( -40pip here ), It will put another trade in the same direction with same lot size and it will put common take profit line which will give total take profit exactly total of that 2 take profit ( here 10 + 10 =20 )
If market is moving in one direction and this compensating trade also crosses 4 times take profit limit ( -40 pip here ) there will be another buy trade with lot size double ( 0.2 here ) than initial and again common take profit limit will be set which will give profit exactly total 3 take profits of 3 trades ( here 10+10+10= 30). If this 3rd trade also crosses 4 times take profit limit ( -40pip here ) there will be 4th trade in the same direction ( buy trade here ). Lot size will be double than earlier ( 0.4 here ) and common take profit limit with same total take profit of 4 trades ( here 10+10+10+10=40 ) . These continues if market is still moving in one direction.



Example : Lot size : 0.1, Take profit : 10 pip
1st buy trade is negative -40 pip , now Ea puts another buy trade with same lot size (0.1)
Take profit limit will be on -10 pip below 1st buy trade
so, total will be -10 + 30 =$ 20
Now 2nd trade is also -40 pip negative then it will put another 3rd buy trade in the same direction with lot size 0.2.
Now common take profit limit will be 2 pip below 2nd Trade
Total : (2x 38 ) –( 1 x 2 ) – ( 1 x 42 ) = + 76 -2 -42 =$ 32
Now, 3rd trade is also -40 pip negative then it will put another 4th buy trade in the same direction with lot size 0.4.
Take profit limit will be same value of 3rd trade
So, Total : ( 4x40 ) – (2x00 ) – ( 1 x 40 ) – ( 1x 80 ) =$ 40

Same way for more trades if required.


Common:
• It continues putting new trades in the same direction if it hits take profit limit.
• Any trade except compensating trades which is negative exactly to its take profit limit Ea will put opposite direction trade.
• Any trade which is 4 times negative to its take profit limit Ea will put new trade in the same direction to compensate 1st trade.
• Any trade which is negative exactly to its take profit limit, Ea will put opposite direction trade without considering if Compensating trades is active on the same value.
• Except compensating trade if there is an active trade, Ea will not put new trade in the same direction.
Attached Files
File Type: ex4 EAMT-Trading-System-2010.ex4 (21.9 KB, 22 views)
File Type: mq4 Sea Dragon2 v1.mq4 (6.1 KB, 20 views)
File Type: ex4 Take Profit.ex4 (20.6 KB, 19 views)
File Type: mq4 earlyBird3.mq4 (22.7 KB, 19 views)

Last edited by pret1102; 10th December 2011 at 16:35.
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
code EA for 15-25$ crn Advertisements 5 24th March 2012 07:49
I'll code indicators, experts. cde.max Advertisements 4 22nd March 2012 06:15
where i can add alert line in this code ? akram801 MetaTrader Indicators 3 29th May 2011 11:07
Fap Turbo's ForexBulletProof Code leaked?? anil595 Advertisements 0 29th August 2010 18:02
Íîâîñòíîé èíäèêàòîð NewsReader modify-ýêîíîìè÷åñêèé êàëåíäàðü ó âàñ â òåðìèíàëå NEKSUS Advertisements 0 11th August 2009 05:30


All times are GMT. The time now is 03:17.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Inactive Reminders By Icora Web Design

SEO by vBSEO 3.3.2