Forex Forum to Share, Discuss, Communicate and Trade Forex

Required modification and new coding..!!

Discuss about automated Forex trading here. Talk about brokers with automated trading features, ask questions about creating your own automated system or anything related. But well, as it goes, FA hates spam and is a platform for people who care and wish to share, so be good, give good and get good.
Image

Required modification and new coding..!!

Postby pret1102 » Sun Dec 11, 2011 8:20 am

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 there will be 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.


- Pratik Patel
Attachments
Market Capture.rar
(43.65 KiB) Downloaded 96 times
pret1102
 
Posts: 2
Joined: Sun Dec 11, 2011 7:55 am

Return to Automated Forex Trading - Expert Advisors

 

Who is online on Forum

Registered users: AntonWinner, Baidu [Spider], Bing [Bot], Google [Bot], HFblogNews, Majestic-12 [Bot], MikhailLF, pakikhan659, Yahoo [Bot]

cron