• Home
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • 1:13pm
Menu
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • 1:13pm
Sister Sites
  • Metals Mine
  • Energy EXCH
  • Crypto Craft

Options

Bookmark Thread

First Page First Unread Last Page Last Post

Print Thread

Similar Threads

I will code your scalping EAs for no charge 81 replies

Need help to code EAs for MT4 and MT5 6 replies

I will code your pivot EAs for no charge 20 replies

EAs and indicators relating to moutaki... 22 replies

InterbankFX has loaded its MT4 platform with custom EAs, indicators and scripts 1 reply

  • Platform Tech
  • /
  • Reply to Thread
  • Subscribe
  • 43,823
Attachments: I will code your EAs and Indicators for no charge
Exit Attachments
Tags: I will code your EAs and Indicators for no charge
Cancel

I will code your EAs and Indicators for no charge

  • Last Post
  •  
  • 1 425426Page 427428429 3182
  • 1 Page 427 3182
  •  
  • Post #8,521
  • Quote
  • Jun 30, 2015 9:10am Jun 30, 2015 9:10am
  •  ebukaume
  • | Joined Nov 2011 | Status: Member | 7 Posts
Quoting ebukaume
Disliked
Hello people, There is this strategy I have been testing and it seems to have been going quite well. But I want to automate the trade management process. Can someone please help me with coding an EA for it. The strategy is attached herewith. The EA should give room for me to enter the incremental lot sequence to be used and should close all pending order when all active trades (of same pair) are closed. If it is possible to manage 2 different pairs at a time, that would be great. Thanks a lot. {image}
Ignored

I know it may be hard, but please is anyone working on this?
 
 
  • Post #8,522
  • Quote
  • Jun 30, 2015 10:37am Jun 30, 2015 10:37am
  •  otarefson
  • | Joined Apr 2014 | Status: Member | 5 Posts
Quoting ebukaume
Disliked
{quote} I know it may be hard, but please is anyone working on this?
Ignored
Harry, I've tried your strategy before. You still have to deal with the losses from the open positions after the t/p in buy stop or sell stop is reached.
 
 
  • Post #8,523
  • Quote
  • Jun 30, 2015 11:05am Jun 30, 2015 11:05am
  •  ebukaume
  • | Joined Nov 2011 | Status: Member | 7 Posts
Quoting otarefson
Disliked
{quote} Harry, I've tried your strategy before. You still have to deal with the losses from the open positions after the t/p in buy stop or sell stop is reached.
Ignored

I don't understand what you mean by the losses from the open positions. All TPs and SLs are synced with the opposing SLs and TPs. So all orders are virtually closed at once.
 
 
  • Post #8,524
  • Quote
  • Jun 30, 2015 2:49pm Jun 30, 2015 2:49pm
  •  lunarus
  • | Joined Apr 2015 | Status: Member | 35 Posts
Hi fellow coders, I'm looking for an indicator/dashboard that shows only the last 5 & active colors of absolute strength histogram of a given timeframe & pairs. If possible also feature either an audible alert/visual highlight of recent changing color? Thanks
 
 
  • Post #8,525
  • Quote
  • Jun 30, 2015 6:57pm Jun 30, 2015 6:57pm
  •  moieu
  • | Joined Jun 2015 | Status: Member | 9 Posts
Quoting moieu
Disliked
Hi all, I consider myself a newbie in forex but since I start trading I had a very big question: why don't we just trade with set of parameters away from indicators? I believe there is no need to keep looking into charts and reading indicators. My idea is very simple and I am thankful to whoever can make it as an EA. Properties 1- Specify currency couples 2- Specifying balance and lots 3- Specify execution date/time 4- Specifying take profit percentage 5- Specifying stop loss percentage 6- Specifying margin percentage (will be reflected on the conditions)...
Ignored
can anyone help please?
 
 
  • Post #8,526
  • Quote
  • Jun 30, 2015 8:39pm Jun 30, 2015 8:39pm
  •  Ernie11
  • | Joined Sep 2014 | Status: Member | 54 Posts
Hello I have an EA that I use to open 2 orders at the same time with different TP. It worked fine but now when the 2 pending orders get triggered one deletes. When I look at the journal it says Off Quotes. I dont know how to fix this issue or even if this is the problem. Could someone look over my code and help me please. Thank you.
Inserted Code
enum LONG_SHORT
   { Choose, Long, Short};
extern double Displacement = 30;
extern double First_Percent_TakeProfit = 5;
extern double Second_Percent_TakeProfit = 10;
input LONG_SHORT Direction = Choose;
int FirstBuyTicket,SecondBuyTicket,FirstSellTicket,SecondSellTicket,GetOpenOrders,BuyOpenPrice,SellOpenPrice;
//+------------------------------------------------------------------+
//| Expert initialization function                                   |
//+------------------------------------------------------------------+
int OnInit()
  {
//---
//---
   return(INIT_SUCCEEDED);
  }
int GetOpenOrders() {
   int liOrders = 0;
   for (int i = 0; i < OrdersTotal(); i++){
      if (OrderSelect(i, SELECT_BY_POS, MODE_TRADES) == false){
         continue;
      }
         if (OrderSymbol() != Symbol() || OrderMagicNumber() != 2000){
         continue;
         }
     liOrders++;
   }
   return(liOrders);
}
//+------------------------------------------------------------------+
//| Expert tick function                                             |
//+------------------------------------------------------------------+
void OnTick()
  {
//---
//Open Conditions//
double MACDValue0 = iMACD (Symbol(), PERIOD_M15, 8, 17, 9, PRICE_CLOSE, MODE_MAIN,1);
double MACDValue1 = iMACD (Symbol(), PERIOD_M15, 8, 17, 9, PRICE_CLOSE, MODE_MAIN,2);
double TriggerLevel = 0;
//Other Conditions//
double LowestShift = iLowest(Symbol(), PERIOD_M15, MODE_LOW, 50, 1);
double HighestShift = iHighest(Symbol(), PERIOD_M15, MODE_HIGH, 50, 1);
double Lowest = iLow(Symbol(), PERIOD_M15, LowestShift);
double Highest = iHigh(Symbol(), PERIOD_M15, HighestShift);
double Lot = (AccountBalance()/40)*0.01;
//Open First Buy Logic//
if (MACDValue0 > TriggerLevel && MACDValue1 < TriggerLevel) {
   if (Direction == Long) {
      if (GetOpenOrders() == 0) {
         FirstBuyTicket = OrderSend(Symbol(),OP_BUYSTOP,Lot,Bid+Displacement*Point,30,0,0,NULL,2000,0,clrGreen);
            if (FirstBuyTicket < 0) { Print("Error opening buy order ", GetLastError());} else {Print("Buy order opened at ", OrderOpenPrice());}
      }
   }
}
//Modify First Buy Order//
if (Direction == Long) {
   if (OrderSelect(FirstBuyTicket,SELECT_BY_TICKET,MODE_TRADES)) {
      OrderModify(FirstBuyTicket,OrderOpenPrice(),Lowest,OrderOpenPrice()+(1000*(First_Percent_TakeProfit*0.01))*Point,0,clrGreen);
   }
}
//Open Second Buy Logic//
if (MACDValue0 > TriggerLevel && MACDValue1 < TriggerLevel) {
   if (Direction == Long) {
      if (GetOpenOrders() == 1) {
         SecondBuyTicket = OrderSend(Symbol(),OP_BUYSTOP,Lot,Bid+Displacement*Point,30,0,0,NULL,2000,0,clrGreen);
            if (SecondBuyTicket < 0) { Print("Error opening buy order ", GetLastError());} else {Print("Buy order opened at ", OrderOpenPrice());}
      }
   }
}
//Modify Second Buy Order//
if (Direction == Long) {
   if (OrderSelect(SecondBuyTicket,SELECT_BY_TICKET,MODE_TRADES)) {
      OrderModify(SecondBuyTicket,OrderOpenPrice(),Lowest,OrderOpenPrice()+(1000*(Second_Percent_TakeProfit*0.01))*Point,0,clrGreen);
   }
}
//Open First Sell Logic//
if (MACDValue0 < TriggerLevel && MACDValue1 > TriggerLevel) {
   if (Direction == Short) {
      if (GetOpenOrders() == 0) {
         FirstSellTicket = OrderSend(Symbol(),OP_SELLSTOP,Lot,Ask-Displacement*Point,30,0,0,NULL,2000,0,clrRed);
            if(FirstSellTicket < 0) {Print("Error Opening Sell Order", GetLastError());} else { Print("Sell order opened at ", OrderOpenPrice());}
      }
   }
}
//Modify First Sell Order//
if (Direction == Short) {
   if (OrderSelect(FirstSellTicket,SELECT_BY_TICKET,MODE_TRADES)) {
      OrderModify(FirstSellTicket,OrderOpenPrice(),Highest,OrderOpenPrice()-(1000*(First_Percent_TakeProfit*0.01))*Point,0,clrRed);
   }
}
//Open Second Sell Logic//
if (MACDValue0 < TriggerLevel && MACDValue1 > TriggerLevel) {
   if (Direction == Short) {
      if (GetOpenOrders() == 1) {
         SecondSellTicket = OrderSend(Symbol(),OP_SELLSTOP,Lot,Ask-Displacement*Point,30,0,0,NULL,2000,0,clrRed);
            if(SecondSellTicket < 0) {Print("Error Opening Sell Order", GetLastError());} else { Print("Sell order opened at ", OrderOpenPrice());}
      }
   }
}
//Modify Second Sell Order//
if (Direction == Short) {
   if (OrderSelect(SecondSellTicket,SELECT_BY_TICKET,MODE_TRADES)) {
      OrderModify(SecondSellTicket,OrderOpenPrice(),Highest,OrderOpenPrice()-(1000*(Second_Percent_TakeProfit*0.01))*Point,0,clrRed);
   }
}
//Remove Expert Adviser//
if (OrderSelect(FirstBuyTicket,SELECT_BY_TICKET,MODE_TRADES)) {
   if (OrderType() == OP_BUY) {
      if (OrderTakeProfit() > 0) {
         if (OrderSelect(SecondBuyTicket,SELECT_BY_TICKET,MODE_TRADES)) {
            if (OrderType() == OP_BUY) {
               if (OrderTakeProfit() > 0) {
                  ExpertRemove();
               }  
            }
         }
      }
   }
}
if (OrderSelect(FirstSellTicket,SELECT_BY_TICKET,MODE_TRADES)) {
   if (OrderType() == OP_SELL) {
      if (OrderTakeProfit() > 0) {
         if (OrderSelect(SecondSellTicket,SELECT_BY_TICKET,MODE_TRADES)) {
            if (OrderType() == OP_SELL) {
               if (OrderTakeProfit() > 0) {
                  ExpertRemove();
               }
            }
         }
      }
   }      
}
if (Direction == Choose) {
   ExpertRemove();
}
}
//----------------
 
 
  • Post #8,527
  • Quote
  • Jul 1, 2015 7:52am Jul 1, 2015 7:52am
  •  writegvf
  • | Joined Dec 2012 | Status: Member | 98 Posts
I am searching for an macd-indicator. it should be possible to give in different price-methods for each ma.
Can somebody help me, please ?
 
 
  • Post #8,528
  • Quote
  • Jul 1, 2015 9:01am Jul 1, 2015 9:01am
  •  kingofmicro
  • Joined Jul 2011 | Status: Member | 251 Posts
I need to SL and TP features for this script.
I ask for your help.
Regards
Attached File(s)
File Type: mq4 UnivTradeHedge.mq4   2 KB | 310 downloads
 
 
  • Post #8,529
  • Quote
  • Jul 1, 2015 10:07am Jul 1, 2015 10:07am
  •  Motiram
  • | Joined Nov 2014 | Status: Member | 610 Posts
Quoting kingofmicro
Disliked
I need to SL and TP features for this script. I ask for your help. Regards {file}
Ignored
Hello kingofmicro if you want you can use EAs below to put SL & TP mean time some one can add the feature requested.
Regards,
Moti
Attached File(s)
File Type: mq4 ronz_auto_sl_n_tp.mq4   4 KB | 261 downloads
File Type: mq4 ronz_auto_sl-ts-tp.mq4   11 KB | 270 downloads
 
 
  • Post #8,530
  • Quote
  • Jul 1, 2015 10:09am Jul 1, 2015 10:09am
  •  bsmile
  • | Joined Nov 2008 | Status: Member | 76 Posts
Quoting Motiram
Disliked
{quote} Hello kingofmicro if you want you can use EAs below to put SL & TP mean time some one can add the feature requested. Regards, Moti {file} {file}
Ignored
Are these, scripts, indicators, or EA? Not sure where to put these. Thanks
 
 
  • Post #8,531
  • Quote
  • Jul 1, 2015 10:19am Jul 1, 2015 10:19am
  •  Motiram
  • | Joined Nov 2014 | Status: Member | 610 Posts
Quoting bsmile
Disliked
{quote} Are these, scripts, indicators, or EA? Not sure where to put these. Thanks
Ignored
Hello bsmile, these are EA’S you have to put them in the Experts Folders, when it is attached to chart, as soon as you open the trade define TP & SL will be applied to it.
Regards,
Moti
 
 
  • Post #8,532
  • Quote
  • Jul 1, 2015 10:26am Jul 1, 2015 10:26am
  •  kingofmicro
  • Joined Jul 2011 | Status: Member | 251 Posts
Quoting Motiram
Disliked
{quote} Hello kingofmicro if you want you can use EAs below to put SL & TP mean time some one can add the feature requested. Regards, Moti {file} {file}
Ignored
Thank you Motiram, great tool.

But I'm basket trader. I open a lot of orders at once. I must to enter the SL and TP operation when opening ( same time )
Therefore, the necessary modifications to the script I added.

Regards
 
 
  • Post #8,533
  • Quote
  • Jul 1, 2015 11:07am Jul 1, 2015 11:07am
  •  kingofmicro
  • Joined Jul 2011 | Status: Member | 251 Posts
Quoting kingofmicro
Disliked
{quote} Thank you Motiram, great tool. But I'm basket trader. I open a lot of orders at once. I must to enter the SL and TP operation when opening ( same time ) Therefore, the necessary modifications to the script I added. Regards
Ignored
Okey, okey. I figure out
First setup your Ea, after I run my script.

Thanks Again
 
 
  • Post #8,534
  • Quote
  • Jul 1, 2015 11:27am Jul 1, 2015 11:27am
  •  dingdong99
  • Joined Oct 2014 | Status: Relax, Enjoy Time | 943 Posts
Quoting kingofmicro
Disliked
{quote} Thank you Motiram, great tool. But I'm basket trader. I open a lot of orders at once. I must to enter the SL and TP operation when opening ( same time ) Therefore, the necessary modifications to the script I added. Regards
Ignored

Try This My Love.......hihihihihihihi.....
all orders, pending orders that will open in a modified TP and SL in accordance with the values that you input.

http://www.forexfactory.com/showthre...11#post8196211
Regard, Ding Dong
 
 
  • Post #8,535
  • Quote
  • Jul 1, 2015 11:59am Jul 1, 2015 11:59am
  •  kingofmicro
  • Joined Jul 2011 | Status: Member | 251 Posts
Quoting dingdong99
Disliked
{quote} Try This My Love.......hihihihihihihi..... all orders, pending orders that will open in a modified TP and SL in accordance with the values that you input. http://www.forexfactory.com/showthre...11#post8196211
Ignored
Oh My Love ... You are the angel of my dream.
I use everything you've done. Thank you very muchh my love.

Inserted Video
 
 
  • Post #8,536
  • Quote
  • Jul 1, 2015 8:49pm Jul 1, 2015 8:49pm
  •  FordPrefect
  • | Joined Jun 2015 | Status: Member | 15 Posts
I am trying to change the alert sound in the MT4 program but it won't cooperate.
I do this: Tools > Options > Events > Alert > drop down menu to change the sound but it will not change. I try it for another category but none of them will change. They go back to their original as soon as I click on something else. Makes no difference if I exit and enter the platform. The default sounds will not change.

My goal is simply to have different sound play for different alerts. Probably a very common desire.

HELP PLEASE.
~~ Ford
 
 
  • Post #8,537
  • Quote
  • Jul 1, 2015 10:22pm Jul 1, 2015 10:22pm
  •  eeddss11
  • | Joined Sep 2014 | Status: Member | 30 Posts
Hi,wondering if someone can help with this indi.

The lines stay on the chart even if the indicator is taken of the chart and shows up on all timeframes even when selecting a single timeframe,

Would appreciate some help if able

Thanks
Attached File(s)
File Type: mq4 Pivot 3 (1).mq4   14 KB | 285 downloads
 
 
  • Post #8,538
  • Quote
  • Jul 2, 2015 12:32am Jul 2, 2015 12:32am
  •  Erebus
  • Joined Jul 2011 | Status: Member | 7,284 Posts
Quoting eeddss11
Disliked
Hi,wondering if someone can help with this indi. The lines stay on the chart even if the indicator is taken of the chart and shows up on all timeframes even when selecting a single timeframe, Would appreciate some help if able Thanks{file}
Ignored
Do this

Ctrl + B

Ctrl + A

Delete

Problem solved

Don't believe everything that you THINK
BuyDips,SellRips Return This Week: 3.4%
 
 
  • Post #8,539
  • Quote
  • Jul 2, 2015 2:33am Jul 2, 2015 2:33am
  •  honestknave
  • Joined Nov 2014 | Status: Member | 1,300 Posts
Quoting FordPrefect
Disliked
I am trying to change the alert sound in the MT4 program but it won't cooperate. I do this: Tools > Options > Events > Alert > drop down menu to change the sound but it will not change. I try it for another category but none of them will change. They go back to their original as soon as I click on something else. Makes no difference if I exit and enter the platform. The default sounds will not change. My goal is simply to have different sound play for different alerts. Probably a very common desire. HELP PLEASE.
Ignored
It's a bug - the change will stick if you use choose other and then select your new sound:
Attached Image (click to enlarge)
Click to Enlarge

Name: choose other.png
Size: 46 KB
 
 
  • Post #8,540
  • Quote
  • Jul 2, 2015 2:44am Jul 2, 2015 2:44am
  •  honestknave
  • Joined Nov 2014 | Status: Member | 1,300 Posts
Quoting eeddss11
Disliked
Hi,wondering if someone can help with this indi. The lines stay on the chart even if the indicator is taken of the chart and shows up on all timeframes even when selecting a single timeframe, Would appreciate some help if able Thanks{file}
Ignored
Here you go
Attached File(s)
File Type: mq4 Pivot 3 (1).mq4   15 KB | 318 downloads
 
 
  • Platform Tech
  • /
  • I will code your EAs and Indicators for no charge
  • Reply to Thread
    • 1 425426Page 427428429 3182
    • 1 Page 427 3182
48 traders viewing now, 8 are members:
marqo58
,
jamesfreddyc
,
jeanlouie
,
Maged12
,
verentz
,
Niveo74
,
erex
,
oo7rai
  • 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 / ©2023