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 9th December 2011, 08:04
Default Avatar
Junior Member
 
Join Date: Dec 2011
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default Trade Line EA

Hi,
I have one idea to work on this market profitably.
But this is to be tested by making it robo.
Can anyone help me?

Please go through 2 files and you will know it.
One is Grid robo, try it in demo account in any script with
Lot size 0.1
Grid Size : 5 or 8 pip or 50 or 80 points
Grid step : 12
Take Profit : 25 pip or 250 points
Stop loss: 00
Update interval : 1.0

I want such a software but little different . Which is mentioned below

Trade Line EA
Specifications:
1. Number of Trades per line should be max 2. ( 1 buy trade and 1 sell trade )
2. As the take take profit of particular trade is taken it should immediately set limit for the same place ( sell limit, sell stop or buy limit, but stop )
3. Grid should be maintained upto above and below 10 trade lines to the centre value ( current price of the market ).
4. There should be options of
a. Lot size,
b. Grid size,
c. Take profit
5. There should be No option of Stop Loss. Take Profit must be 2.5times higher than grid space. T/p >= 2.5 Grid Space.
6. Lot Size should be maximum L = B x 0.00001 ( i.e. if A/c Balance is B = 1000 then Lot Size L = 1000 x 0.00001 = 0.01 ). As the balance increases more than 1000 than initial value it will increase lot size with above calculation.
7. Once EA is fixed and allowed to live trading, it shouldn’t allowed to change any parameters. It will take default parameters as Lot size according to account balance, Grid size 5 pip and Take Profit 28pip. To change parameters it is required to remove and reattach the EA to chart.
8. As the EA attached to the chart and allowed to Live Trading, on current value of script, it will make 1 buy and 1 sell trade and this will be centre value at this stage and it will put limits above and below 10 trade lines.
9. There should be no connection with any time frame as this EA will work on Market values only.
10. Slippage should be 2 max.
11. It should indicate extreme high and extreme low of last 2 60 days from current time.


- Pratik Patel
Attached Images
File Type: jpg TradeLine EA 5.jpg (136.9 KB, 45 views)
Attached Files
File Type: mq4 MakeGrid_20_100.mq4 (11.4 KB, 53 views)
Reply With Quote
  #2 (permalink)  
Old 9th December 2011, 11:25
Enivid's Avatar
Administrator
 
Join Date: Nov 2008
Posts: 1,542
Thanks: 18
Thanked 20 Times in 16 Posts
Default

If no stop-loss is used, what happens to the trades that were triggered at near the high of the grid (or near the low)?
__________________
Please, read the Forum Rules and the Signature Rules to avoid termination of your account.
Reply With Quote
  #3 (permalink)  
Old 9th December 2011, 11:57
Default Avatar
Junior Member
 
Join Date: Dec 2011
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

High end trade will remain open negatively but your total balance will continue increasing.

Say you started with $20,000. Now Balance is 24,000 and equity will be 22,500. So you are ultimately plus. This will continue.
For the robo which I have attached, I have taken almost 20 tests and still continue.

Let me give you current result.

I started this make_Grid_20_100 in EuroUsd script on 02/12/2011, Time 20:50, with Account Balance : $5,500.
Ea settings:
Lot Size: 0.1
Grid Size : 40 Points ( 4 pip )
Grid Step : 12
Take Profit : 250 points ( 25 pip )
StopLoss: 0.0

At this momnet ( 09/12/2011, Time 13.50 )

Balance : $ 8116
Equity: $5621

10 sell trade open ( extreme Low is on 1.32760 with $ -125 )
12 Buy Trade Open ( extreme High is on 1.34840 with $ -74 )
Current market value is 1.34131
Except 2 buy trades all trades buy and sell will cancel each others effect of drawing the equity negative.

Try it!!
Reply With Quote
  #4 (permalink)  
Old 9th December 2011, 12:16
Default Avatar
Junior Member
 
Join Date: Dec 2011
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Tradeline Ea will work little differently. we get maximum benefit if the market is more zigzag say up and down of 50 - 90 pip.
Reply With Quote
  #5 (permalink)  
Old 10th December 2011, 08:31
Enivid's Avatar
Administrator
 
Join Date: Nov 2008
Posts: 1,542
Thanks: 18
Thanked 20 Times in 16 Posts
Default

And what happens with 12 buy orders @ near 1.34840 if EUR/USD goes down to 1.3000?
__________________
Please, read the Forum Rules and the Signature Rules to avoid termination of your account.
Reply With Quote
  #6 (permalink)  
Old 10th December 2011, 16:11
Default Avatar
Junior Member
 
Join Date: Dec 2011
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Last Friday Eur/Usd closed with price 1.3385.
At that moment my account history:
Balance: 8191, equity: 5779, ( it has gained profit from both buy ( 25 Nos ) and sell trade ( 83 Nos ) with $ 25 take profit.. Total $2700 gained

Trade of 1.34840 buy price is still open
Now 16 sell trade open and 23 buy trade


If market goes down straight to 1.3000 ( No zigzag ) Close value 1.3385 - 1.3000 = 385 pip ( total )
But Extreme Buy Trade 1.3484-1.3000= 484 pip
Lot size is 0.1 so Randomly consider total negative by buy trade: 450pip x 23Nos = 10,350 pip or USD
Now let us calculate other side
My open sell positions are from 1.3336
Grid size is 4 pip so upto 1.3000 ...... 1.3336-1.3000 = 336 pip / 4 = 84
total 84 sell trade will made
total of 330 trade : 84 x 25 ( take profit ) = $ 2100

So, Account will close very early.

But wait Account balance is 8191 + 2100 = 10291

it look account will certailnly close....

2 ways to save this account.... if market move in zigzag movement and then reach to said value.. then according to this EA number of sell trade will be more.... say more 20 trades then 20 x 25 = $ 500 will be more in the balance . So account may not close.
Or if account balance more than 10,000 initially . There are no chance of closing.
( 10,000 + 2700 + 2100 + 500 = 15300 ) ( negative is 10,350, Equity will be 15,300 -10350 = 4950 )

But why do we do this? To get profit then ... do we get profit?

Market doesn't go directly to one direction.... history says. No country /territory will be able to pull the market in single direction ( there should be zigzag ). Negative market comes back to positive then total negative reduces + new small trade of $ 25 take profit will increse account balance and equity.

we are working on big range with open trades so initial account balance should be more.
In this strategy once you started, you can never close your account or can't keep your software off.

It is once started and never close .... just get little profit each day and see the balance and equity increase.


how to describe this strategy?
I started a business.
a. Few customer bought and gone never paid.
b. Some customer pays me very late to my sold product (after 3 months )
c. some pays little late ( say after 15 days )
d. major are regular in pays within a day
All over I make profit from all customers except those never pay.
The loss made by never paid customer is recovered from remaining customer.

I hope you enjoy!!!

Last edited by pret1102; 10th December 2011 at 16:22.
Reply With Quote
  #7 (permalink)  
Old 11th December 2011, 09:33
Enivid's Avatar
Administrator
 
Join Date: Nov 2008
Posts: 1,542
Thanks: 18
Thanked 20 Times in 16 Posts
Default

Just don't forget that there were people who longed EUR/USD @ 1.5140 two years ago .
__________________
Please, read the Forum Rules and the Signature Rules to avoid termination of your account.
Reply With Quote
  #8 (permalink)  
Old 11th December 2011, 10:09
Default Avatar
Junior Member
 
Join Date: Dec 2011
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Dear Admionistrator, Thanks for pointing me risk side.

In july 2008 max price was 1.60380
But there is no sudden rize and if market rises now it will make buy trades same way it makes sell trades...

I don't want to say anything else.. Just try this with my said parameters..

I want to make profit ... so I try to set parameters that make profit.

Last edited by pret1102; 11th December 2011 at 10:28.
Reply With Quote
  #9 (permalink)  
Old 13th December 2011, 20:25
Default Avatar
Junior Member
 
Join Date: Dec 2011
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi
Enivid

Eur Usd Market just crossed and returned your said value It was 1.2999
My account history
Current value 1.30225
Balance: 11414
Equity: 1886
Still no damage .....
Reply With Quote
  #10 (permalink)  
Old 13th December 2011, 21:09
Enivid's Avatar
Administrator
 
Join Date: Nov 2008
Posts: 1,542
Thanks: 18
Thanked 20 Times in 16 Posts
Default

Good luck!
__________________
Please, read the Forum Rules and the Signature Rules to avoid termination of your account.
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
Murrey Math Line X Enivid MetaTrader Indicators 12 28th February 2012 09:38
trend line object samjesse MetaTrader 5 1 6th September 2011 08:45
where i can add alert line in this code ? akram801 MetaTrader Indicators 3 29th May 2011 11:07
Strategy American Day Line mandarin Trading Systems and Strategies 4 5th November 2010 04:10
Double CCI with line and histogram for MT5 fxwalb MetaTrader Indicators 20 25th January 2010 10:41


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


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