You didn't post a topic yet. Let us show you how to make your first topic and upload your favorite forex robot. Guide me

Skip to forum content

Login with Facebook

Login with Username and Password!

     Username:       Password:  Login

Register  |  Forgot Password?

 

 

The latest topics with attached files (Forex robots, Forex Indicators, etc..)

Forums in this category with details of Replies, Views, last post

EA martingle bot

by Muhammad Allif Bin Ahmad

  • 0 replies
  • 86 views
  • Last post Today 03:21:13 by Muhammad Allif Bin Ahmad

SZ_Scalper free

by Holger Bläsner

new member is here

by ShakEel Ashiq


[ Closed ]

Pages 1

You must login or register to post a reply

RSS

Posts: 2
Please rate this topic
Current rating: 0
Votes: 0

Embed topic to your site

Alert at Order Closing Indicator

Topic: Alert at Order Closing Indicator

The indicator alerts at order closing, and reports about its profit.

//+------------------------------------------------------------------+
//|                                              AlertCloseOrder.mq4 |
//|                               Copyright © 2010, Vladimir Hlystov |
//|                                         http://cmillion.narod.ru |
//+------------------------------------------------------------------+
#property copyright "Copyright © 2010, Vladimir Hlystov"
#property link      "http://cmillion.narod.ru"
#property indicator_chart_window
int Orders;
//+------------------------------------------------------------------+
int start()
  {
   if (Orders>OrdersTotal()) AlertOrder();
   Orders=OrdersTotal();
   return(0);
  }
//+------------------------------------------------------------------+
void AlertOrder()
{
   string txt;
   double OCP;
   int i=OrdersHistoryTotal()-1;
   if(OrderSelect(i,SELECT_BY_POS,MODE_HISTORY)==true)
   {                                     
      OCP=OrderClosePrice();
      if (OCP==OrderStopLoss()  ) txt="SL";
      if (OCP==OrderTakeProfit()) txt="TP";
      Alert("Order N ",OrderTicket()," close in ",txt," ",
      DoubleToStr(OCP,Digits)," profit ",DoubleToStr(OrderProfit(),2));

Post's attachments

AlertCloseOrderEN.mq4 1.25 kb, 3 downloads since 2014-10-18 

Share

Highly Recommended by MT4talk Forum Admin! Open an account ->>


Re: Alert at Order Closing Indicator

Hi

thanks for sharing.

how do you implement it into an EA ?

Share

Posts: 2

Pages 1

You must login or register to post a reply

Last Posts

  • 21/06: Investing money.
  • 21/06: EA martingle bot
  • 20/06: This robot made me over $20,000.
  • 20/06: Demo is essential
  • 20/06: SZ_Scalper free
  • 20/06: For the beginners
  • 20/06: Best broker for beginners?
  • 20/06: Assar Ultra©™ High Frequency Forex Scalping in 2018
  • 20/06: forex thunerbolt indicator
  • 19/06: Aggressor3_Great EA
  • 19/06: new member is here
  • 18/06: Does anyone have QT Indicator?
  • 18/06: Really Profitable EA 50-100% monthly
  • 17/06: cashflow - MQ4 file (expert advisor)
  • 16/06: My EA ichimoku
  • 16/06: EA LAU albuquerque - MQ4 file (expert advisor)
  • 16/06: TrillionPipsEA
  • 16/06: Non-Lag Inverse Fisher of RSX indicator
  • 16/06: Ubat 5.0
  • 16/06: Blessing 3
  • 15/06: Afraid of losing money
  • 15/06: Trading decision after analysis
  • 15/06: Hey guy free EA for your test
  • 15/06: Infinity Scalper indicator
  • 14/06: Assar V11
  • 14/06: 1200 EA file in on folder for free
  • 14/06: How to select god broker?
  • 13/06: Universal One Min Scalper - MQ4 file (expert advisor)
  • 13/06: success in the forex market
  • 13/06: Risk & Money Management.
  • 13/06: Forex Trader.
  • 12/06: XTX Expert 2.0 backtest results 2015-2018 starting @3k
  • 12/06: forex grinder EA
  • 12/06: ole$ya-PRO EA V.1
  • 12/06: MT4 Account Management Service-Minimum Balance: $100 usd
  • Hot Topics

  • ASSAR v8 (1042)
  • Scalper_v5 (free) (720)
  • A highly profitable Ea (465)
  • FX Magic Robot - Verified Live Working 3/13/17 (458)
  • 2000 pips daily (451)
  • ASSAR V9 (Trend Breakout Edition) 2017 Expert Advisor (417)
  • spartan bolt V6 (414)
  • Assar_03_EA (391)
  • ASSARV11 [EXCLUSIVE] ACTIVE MEMBERS ONLY! (274)
  • Forex Earth Robot (249)
  • Trade-Arbitrage EA (248)
  • xmt scalper (227)
  • Forex Math EA free for Mt4 (180)
  • Super Signal Scalping Profit Statement (178)
  • Rabbit3 £100 start Zero to Hero Updated EA (167)
  • Fracture 7.4.0 (156)
  • high profit EA (151)
  • SCALPER PALING JOSS EA is a Holy Grail (150)
  • New to forex? (148)
  • Ilan Expert Advisor for Metatrader 4 (136)
  • EA SmartAssTrade. (133)
  • Monster Profit Forex Robot (123)
  • WayGrow EA 1.7 (111)
  • scalperstarkpro downoad free (price 90 dollars) (92)
  • FX Magic Robot (91)
  • IceFX TraderAgent Pro EA v2.5.1 (86)
  • Profitable GBPJPY EA (true results) (85)
  • Unbelievable EA (83)
  • Hedge Expert Advisor (63)
  • Good EA 2017. Free !!! (63)
  • 100 pips profits trading (63)
  • Magic Fx Formula indicator-V2 (61)
  • Best Indicator That No Repaint!!! (61)
  • BAR EA V5.1 (60)
  • hello (60)

  •  

    NOTE: Hacked or other illegal versions of copyrighted forex robots are highly prohibited on MT4talk.com. If you upload any illegal version of any copyrighted forex robot, your forum account will be banned. No exceptions.

     

    Forum statistics

    • Total number of registered users: 19,617
    • Newest registered user: 1085481747
    • Total number of topics: 10,982
    • Total number of posts: 36,362

    Copyright MT4talk.com Forum Rules - Privacy Policy.