• Home
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • User/Email: Password:
  • 6:52am
Menu
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • 6:52am
Sister Sites
  • Metals Mine
  • Energy EXCH
  • Crypto Craft

Options

Bookmark Thread

First Page First Unread Last Page Last Post

Print Thread

Similar Threads

Excel profit / loss tracking spreadsheet? 3 replies

Loss calculation does not match loss in backtesting MT4 - why? 6 replies

Stop Loss vs. Hidden Stop Loss 26 replies

Stop Loss and Take profit question 6 replies

Loss profit potential. 2 replies

  • Platform Tech
  • /
  • Reply to Thread
  • Subscribe
  • 32
Attachments: Good profit No loss EA
Exit Attachments

Good profit No loss EA

  • Last Post
  •  
  • Page 1 234 5
  • Page 1 234 5
  •  
  • Post #1
  • Quote
  • First Post: Edited Nov 26, 2017 10:41pm Nov 23, 2017 2:38am | Edited Nov 26, 2017 10:41pm
  •  eazyforex
  • | Joined Mar 2017 | Status: Member | 90 Posts
Hi
any programmer please help me i have very good ea but i need join 2 ea with one
in first ea maximum no of order reach second ea run
also in first ea normal account some times order miss i set slippage upto 10 pip but slip
any possible without slippage order take very fast in normal account and ecn account
please help me
Attached File
File Type: mq4 first.mq4   10 KB | 2,311 downloads | Uploaded Nov 26, 2017 10:40pm


Attached File
File Type: mq4 second.mq4   10 KB | 2,002 downloads | Uploaded Nov 26, 2017 10:40pm


  • Post #2
  • Quote
  • Nov 23, 2017 5:44am Nov 23, 2017 5:44am
  •  rammer13
  • | Joined Apr 2015 | Status: Member | 139 Posts
Hi eazyforex, I have a basic understanding of what you are saying lets see where this thread takes us. What I am seeing in simple terms is a hedge trading system using martingale .Correct me if I am wrong. Cheers !!!
1
  • Post #3
  • Quote
  • Nov 23, 2017 5:58am Nov 23, 2017 5:58am
  •  mades
  • | Joined Jul 2007 | Status: Member | 1,205 Posts
I dont understand
  • Post #4
  • Quote
  • Nov 23, 2017 6:38am Nov 23, 2017 6:38am
  •  eazyforex
  • | Joined Mar 2017 | Status: Member | 90 Posts
Quoting rammer13
Disliked
Hi eazyforex, I have a basic understanding of what you are saying lets see where this thread takes us. What I am seeing in simple terms is a hedge trading system using martingale .Correct me if I am wrong. Cheers !!!
Ignored
cborder ea run buy and sell order open same time any one reach profit again open buy and sell same lot suppose market run 100 pip it very good profit
today my profit in demo acount i run $100 account.
Attached Image (click to enlarge)
Click to Enlarge

Name: Screenshot 2017-11-23 17.02.20.png
Size: 86 KB

only one problem suppose market fast movement situvation it go any one side that time lock first ea and run through second ea so profit from second ea close far distance order so reduce order list

second picture my running order list
Attached Image (click to enlarge)
Click to Enlarge

Name: Screenshot 2017-11-23 17.05.31.png
Size: 85 KB
  • Post #5
  • Quote
  • Edited at 7:50am Nov 23, 2017 7:39am | Edited at 7:50am
  •  praful_patat
  • | Joined Oct 2009 | Status: Member | 119 Posts
Hi
Please add Stop loss option in EA. So may be better.


Thankx
1
  • Post #6
  • Quote
  • Nov 23, 2017 9:35am Nov 23, 2017 9:35am
  •  eazyforex
  • | Joined Mar 2017 | Status: Member | 90 Posts
Quoting praful_patat
Disliked
Hi Please add Stop loss option in EA. So may be better. Thankx
Ignored
with out stop loss if reach some more order that time i run second EA
The adviser is called to withdraw all loss-making positions in the total plus and close them all. After this, the adviser no longer puts his orders and waits for new unprofitable positions, established by the hands or other advisors.
http://cmillion.ru/wp-content/upload...4-08-24_01.png(already i attach previous post)
He exposes at a distance from the last orders of the stop order specified in the settings volume. After they are triggered, the next stop order is displayed on the trend, etc. When the price goes in one direction, then a sufficient number of orders in this direction is successively opened to cover all loss-making orders of the opposite direction. When the total profit of all orders of this currency pair is reached, the adviser closes positions on this pair and waits.

Options:
PercentProfitClose = 0.1 ; // close all orders when getting a profit as a percentage of the deposit Lot = 5 ; // lot of the stop loss order delta = 25 ; // the distance to the stop order from the extreme position
For insurance against sudden surges, you can set a lot much more than the total of all orders and when a stop order is triggered, it almost immediately closes all losses.

To simplify the understanding of the Expert Advisor's work at the start in the tester, he opens the sell order by the lot in 2 times less than specified in the parameters and shows how it outputs the account to a plus. Put an advisor on a bullish trend in the tester and see its work.

i run this 2 ea separately if any coder help join both ea with single? suppose no.of order reach second ea start and close all loss order to profit again first ea run
1
  • Post #7
  • Quote
  • Nov 23, 2017 10:49am Nov 23, 2017 10:49am
  •  merlin1331
  • Joined Mar 2015 | Status: Member | 232 Posts
my understand to your ea is you trade hedge in range period, if in trend situation, you use the second ea to close your orders and use the first ea to start trades again, am i right?

how long you demo your strategy ? if you continue to trade this strategy more than 1 month, it will be worth to combine this two ea.
1
  • Post #8
  • Quote
  • Nov 23, 2017 12:00pm Nov 23, 2017 12:00pm
  •  eazyforex
  • | Joined Mar 2017 | Status: Member | 90 Posts
Quoting merlin1331
Disliked
my understand to your ea is you trade hedge in range period, if in trend situation, you use the second ea to close your orders and use the first ea to start trades again, am i right? how long you demo your strategy ? if you continue to trade this strategy more than 1 month, it will be worth to combine this two ea.
Ignored
i run last one weak in combiine if first ea reach some no of order only take second ea
in first ea onle problem if run ecn account take order correctly suppose run in normal account some time account slippage.
i set slippae upto 10 pip but same problem
in this two ea i find
rule 1: take but and sell order if any one order close immediate again open buy and sell
rule 2 if no of order reach second order open after close all order again start from first
i run take profit 2 pip only 20 order reach run second ea
in second order ea i give lot size 50 times bigger than first order lot size so easily close it
y.day take big order after it return so buy side 4 order sell side 2 order last close today morning
without loss
just you check both ea separate it good result
  • Post #9
  • Quote
  • Nov 23, 2017 4:25pm Nov 23, 2017 4:25pm
  •  JRogerFX
  • | Joined Oct 2017 | Status: Member | 4 Posts
Hello @eazyforex, thanks for sharing.
It sounds like a good idea, I just don't understan how do you recover from losing positions. If you open the first 2 positions buy and sell, and trend is up, EA will start closing in profit every buy, but will keep the losing trades from sell. So, you can reach a point where you have 1 buy and 20 sells losing. So ... what there? Not clear about the other EA to open a bigger lot position ... in what direction ? how many lots ? what TP and SL? Hope you can help me understand, maybe I can try rewriting this idea in only one EA.
1
  • Post #10
  • Quote
  • Nov 24, 2017 12:07am Nov 24, 2017 12:07am
  •  praful_patat
  • | Joined Oct 2009 | Status: Member | 119 Posts
Hi
on 15min EU open total position is sell 50 and buy 14=64. can run second EA now?

Thankx
1
  • Post #11
  • Quote
  • Nov 24, 2017 1:01am Nov 24, 2017 1:01am
  •  goodways100
  • Joined Dec 2013 | Status: Member | 612 Posts
Subs. Thanks and
Regards
1
  • Post #12
  • Quote
  • Nov 24, 2017 1:51am Nov 24, 2017 1:51am
  •  badeel
  • Joined Dec 2015 | Status: Member | 237 Posts
you can try this one
Attached File
File Type: mq4 buysell.mq4   18 KB | 2,477 downloads
  • Post #13
  • Quote
  • Nov 24, 2017 7:14am Nov 24, 2017 7:14am
  •  eazyforex
  • | Joined Mar 2017 | Status: Member | 90 Posts
Quoting praful_patat
Disliked
Hi on 15min EU open total position is sell 50 and buy 14=64. can run second EA now? Thankx
Ignored
now try to run second ea
  • Post #14
  • Quote
  • Nov 24, 2017 7:22am Nov 24, 2017 7:22am
  •  eazyforex
  • | Joined Mar 2017 | Status: Member | 90 Posts
Quoting JRogerFX
Disliked
Hello @eazyforex, thanks for sharing. It sounds like a good idea, I just don't understan how do you recover from losing positions. If you open the first 2 positions buy and sell, and trend is up, EA will start closing in profit every buy, but will keep the losing trades from sell. So, you can reach a point where you have 1 buy and 20 sells losing. So ... what there? Not clear about the other EA to open a bigger lot position ... in what direction ? how many lots ? what TP and SL? Hope you can help me understand, maybe I can try rewriting this idea...
Ignored
example starting lot 0.01 , no of order 10, profit 2 pip market go buy trend starting first order 1.12340
no total 10 sell order take 10th order 1.12520
after 10th order now stop take order and after 10th order from 5 pip 1.12570 one buy stop order lot size 0.50 and sell stop order 1.12290 0.50 lot.
no market move up 0.50 buy order profit equal and higher to sell order clsoe all sell order and again start cycle fresh
suppose take buy order 0.50 lot market down already sell order close one by one and open buy order and take sell stop order 0.50 lot
than again market down 5 pip again take sell stop order .50 lot
now total sell order equal or higher to buy order close all order and start cycle again
  • Post #15
  • Quote
  • Nov 24, 2017 7:58am Nov 24, 2017 7:58am
  •  eazyforex
  • | Joined Mar 2017 | Status: Member | 90 Posts
Quoting eazyforex
Disliked
{quote} now try to run second ea
Ignored
before run second ea stop first ea
  • Post #16
  • Quote
  • Nov 24, 2017 11:08am Nov 24, 2017 11:08am
  •  eazyforex
  • | Joined Mar 2017 | Status: Member | 90 Posts
i try to step by step explanation
PAIR TAKEN: EURUSD; SAMPLE LOT SIZE: 0.01; REF PT: 1.12300
CASE 1: MARKET GOES UP FROM REF PT(1.12300) TO 1.12550 & ABOVE.
STEP1: AT REF PT.(1.12300) OPENS BUY ORDER (1) & SELL ORDER (1) WITH SAMPLE LOT SIZE (0.01)
STEP2: IF MARKET GOES UP, AT TP OF 2 PIPS, EVERY BUY ORDER CLOSES AND AGAIN OPEN NEW BUY ORDER (1) & SELL ORDER (2) WITH THE SAMPLE LOT SIZE (0.01).
STEP3: NUMBER OF ORDERS SET TO 10 LEVELS, LIKE SELL ORDER (1) AT REF PT 1.12300 TO SELL ORDER (10). AT 1.12500.
STEP4: IF THE MARKET GOES ABOVE 1.12500, NO MORE OREDERS WILL OPEN, AND SET BUY STOP AT 1.12550 WITH HIGHER LOT SIZE SAY 0.50 & AT THE SAME TIME SET SELL STOP AT 5PIPS LESSER FROM THE REF PT AT 1.12250.
STEP5: IF THE MARKET GOES ABOVE 1.12550 THEN TP FOR BUY STOP ORDER & SL OF 10 SELL PENDING ORDERS WILL CLOSE EITHER AT MINIMAL PROFIT.
STEP6: CONTINUE TO STEP 1.

CASE 2: : MARKET GOES UP FROM REF PT(1.12300) TO 1.12550 BUY STOP TRIGGERS & MARKET REVERSE.
SAME STEP 1 TO STEP 4 WILL EXECUTE.
STEP 5: IF THE MARKET REVERSE AFTER THE BUY STOP ORDER TRIGGERS, NO ORDERS WILL OPEN OR CLOSE UNTIL IT COMES TO TP OF SELL ORDER (10) AT 1.12480.
STEP 6: AT 1.12480 SELL ORDER 10 WILL CLOSE AND OPENS BUY ORDER (1) & SELL ORDER (10).
STEP 7: IF THE MARKET FURTHER GOES DOWN, THEN AT EVERY TP OF SELL ORDERS WILL CLOSE AND OPENS BUY ORDER & SELL ORDER RESPECTIVELY, SAME LIKE STEP 2.
STEP 8: IF THE MARKET GOES TILL SELL STOP ORDER THEN SAME CONDITION WILL FOLLOW LIKE THAT OF STEP 4.
STEP 9: SINCE ALREADY BUY STOP ORDER TRIGGERS & NOW SELL STOP ORDER TRIGGERS THEN AT EVERY 5 PIPS ANOTHER SELL STOP ORDER WILL TRIGGER AND CLOSE ALL PENDING ORDERS OF SL & TP AT MINIMAL PROFIT.
STEP 10: CONTINUE STEP1.
1
  • Post #17
  • Quote
  • Nov 28, 2017 12:04am Nov 28, 2017 12:04am
  •  praful_patat
  • | Joined Oct 2009 | Status: Member | 119 Posts
Hi
Sometime risky second EA.


Thankx
  • Post #18
  • Quote
  • Nov 28, 2017 12:16am Nov 28, 2017 12:16am
  •  eazyforex
  • | Joined Mar 2017 | Status: Member | 90 Posts
Quoting praful_patat
Disliked
Hi Sometime risky second EA. Thankx
Ignored
HOW?
  • Post #19
  • Quote
  • Nov 28, 2017 2:38am Nov 28, 2017 2:38am
  •  unmaskedluke
  • | Joined May 2014 | Status: Aramaii tii! | 48 Posts
I still dont understand how you limit the orders opened. Is it by levels or by amount of the opened orders?
  • Post #20
  • Quote
  • Nov 28, 2017 5:27am Nov 28, 2017 5:27am
  •  praful_patat
  • | Joined Oct 2009 | Status: Member | 119 Posts
Hi
See pic...
Attached Image (click to enlarge)
Click to Enlarge

Name: CDorder.png
Size: 220 KB
  • Platform Tech
  • /
  • Good profit No loss EA
  • Reply to Thread
    • Page 1 234 5
    • Page 1 234 5
0 traders viewing now
  • More
Top of Page
  • Facebook
  • Twitter
About FF
  • Mission
  • Products
  • User Guide
  • Media Kit
  • Blog
  • Contact
FF Products
  • Forums
  • Trades
  • Calendar
  • News
  • Market
  • Brokers
  • Trade Explorer
FF Website
  • Homepage
  • Search
  • Members
  • Report a Bug
Follow FF
  • Facebook
  • Twitter

FF Sister Sites:

  • Metals Mine
  • Energy EXCH
  • Crypto Craft

Forex Factory® is a brand of Fair Economy, Inc.

Terms of Service / ©2021