Showing posts with label Scripts. Show all posts
Showing posts with label Scripts. Show all posts

Sunday, September 15, 2013

Close All Pending Orders Script for MT4


Close All Pending Orders Indicator MT4


This script can close all your pending orders in your MT4, or you can select different pending orders.

You can select:

    by order type: Limit Buy, Limit Sell, Stop Buy or Stop Sell;
    by magic number: close or skip all position with specified magic number
    by market instrument;
    and the combination of the above options

You just need to drag the script to the chart and adjust the settings.

Author:
ThinkTrustTrade







Tuesday, August 27, 2013

The Collection of EA for automatic Trading


The Collection of EA for automatic Trading.

  • !xMeter.ex4
  • EA5-Bar-Trader-LT.ex4
  • EA12-Buy-Time.ex4
  • oilfxpro_simple support and resistancefxf
  • abhaeepertv2.ex4
  • EA7-Pivot-Champ.ex4
  • MA_Crossover_Signal_With_wav
  • phoenix_ea_v5_6_03
  • abhaindictorv2.ex4
  • EA9-MST-Trader.ex4
  • warrior trader007
  • bouncingPipEA_mpowerV41
  • EA11-Rebounce-Trader.ex4
  • MTP_1.7

I can't tell you more about these EA's.Try them by your self. Hope that one of them will give you profits.

If you like these EA's ,I need your thanks by Click " Like" our Fanpage at right sidebar.





Download


How to download: Click here.











Saturday, July 6, 2013

The Amazing News Expert Advisor / EA



Now, lets look at specifically how to apply this strategy. We will use chart 1 for illustration purposes, and all times will be discussed as EST. You go to view the Fundamental Announcement calendars and see that the US will be making some announcements (one announcement is ok, but more is better) for 8:30am tomorrow. Very well then, you go to bed and make sure to have the alarm set for 8:15am to be awake for the trading opportunity. It’s a good idea to set an alarm clock 15 minutes before the trading opportunity to make sure you remember it.

At 8:25 you should have your charts open to the one-minute candlesticks for EUR/USD (and/or GBP/USD, CHF/USD) and your Forex broker account opened up and ready to place an order.

You should notice that prices are gently moving around in a consolidation pattern waiting for the Fundamental Announcement. Now here is where you have to act quickly. At EXACTLY 8:29am you need to look at the candle and see what the high and low prices are (not open and close). Add 10 pips to the high price and minus 10 pips from the low price. If the 8:28am candle has higher highs or lower lows then you may want to use those extreme numbers instead of the 8:29am candle’s prices (adding/subtracting 10 pips). Now you create two “entry orders”.
An entry order, unlike a market order to buy/sell right now at the current price, is an order that only kicks in when your entry price is touched. For the first entry order you set it to “BUY” when it reaches the high+10pips price, set your Stop loss for 10 pips (VERY IMPORTANT) which is basically the same as the high without the extra 10 pips, and then activate your trade.For the second entry order you set it to “SELL” when it reaches the low-10pips price, set your Stop loss for 10 pips (VERY IMPORTANT) which is basically the same as the low without the extra 10 pips, and then activate your trade.
This should all have happened by 8:30am sharp. OPTIONAL – you could set a profit limit of 20 pips on both orders.

The Amazing News Expert Advisor (EA)


What did you just do? You took the price range of the currency pair and stretched it 10 pips up and down to add a little bit of a safety net. You told the broker that if the price of the currency pair goes up to that high point then you will “BUY”, and if it goes down to the low point then you will “SELL”. You also told the broker to stop you out after losing ten pips incase that should happen. If you set the optional profit limit to 20 pips then you told the broker that once the price moves in your favor 20 pips to exit the trade.

In chart 1 it happened to go “UP”, and you would have ended up “BUYING” the currency pair. It could have just as well gone “DOWN”, and you would have ended up “SELLING” the currency pair. It doesn’t really matter with this strategy which way it goes, just that it moves a lot of pips.
IMPORTANT – Within 5 minutes one of your two trades should be off and running. At this point you should cancel the other trade. Sometimes the market responds with a momentary whiplash which means both orders could have been triggered, one resulting in a loss while the other usually goes on for a profit. Read more about this later in this document.
Let’s review the above chart 1 example. At 8:29am the high was 1.2002 and the low was 1.1999. At 8:28am the high was 1.2000 and the low 1.1998. Since the low of the 8:28am candle was lower than the 8:29am candle’s low we will use that one.
So now...
you add 10 pips to the high (1.2002 + 10pips = 1.2012) and you subtract 10 pips from the low (1.1998 –10pips = 1.1988). So you place two entry orders, one that if the price goes to 1.2012 you buy a lot (or multiple lots, or mini lots), but if the price drops to 1.1988 you sell a lot. Then you enter your stop losses (VERY IMPORTANT – NEVER trade without stops!!!) of 10 pips, so for your buy position your stop loss would be 1.2002 and your stop for the sell position would be 1.1998. Let’s say you decided to put a profit limit of 20 pips then for your buy position it would be 1.2032, and for your sell position it would be 1.1968.
To make calculations simpler for you I have included an MS Excel spreadsheet that does all the math for you that you can download from the resource section of my website (see Appendix A). Just enter in your high and low numbers and it will give you all the numbers needed.

Back to the example. In this case your “BUY” entry order would have kicked you in for a buy position at 1.2012. If you used a 20 pip limit then you would have exited at 1.2032 for a nice $200 profit (trading only one regular lot). Not bad for about five minutes worth of work.
If you are a beginning trader it is highly recommended that you stick with a 20 pip limit on your trades. Later you can do some of the more advanced suggestions .......

Download file for more detail ....
Included EA on File


Download



How to download: click here





Free Download EA USD.x


"Advisor, you can only install on one computer. License individual. So choose the right one computer, with which you work. If the terminal is open, then close the terminal Meta Trader fourth Before installation you need to activate the program for the license. The archive is a folder with the advisor to the "License" Open it and install the file license. Just go all the way and activate the program. (If you have previously installed a similar license, then this program is not necessary to install, and advisor to the code will not be asked - is considered the license is automatically)."

The paragraph is from the Manual Guide.
Used for PAIR EUR/USD
Time Frame M15



Free Download EA USD.x


Download included:
  • Strategy Tester Report
  • EA USD.x.ex4
  • License_Installer
  • Installation_User Manual
Free Download EA USD.x:

Download



How to download: click here








Saturday, June 29, 2013

Renko EA for Renko Chart


Do you want to trade using Renko Chart?
Here's the EA.This EA will change your Time Frame chart to the Renko Chart.
See the TF Chart image below.

Renko EA for Renko Chart

And After you install Renko EA to your Chart,it will be like this:

Renko EA to Renko Chart


How to Install Click here

Download



How to download: click here





Wednesday, June 26, 2013

How to Create an EA Part 4



Previous Part 3,click here

How to Create an EA

The next function we have to make is a get signal function. because this ea using RSI indicator, so the code as follows:
How to Create an EA
And now, we make a send orders function to send order smoothly to the broker server.
Look at the following code:
How to Create an EA
if the function is successful, it will get the ticket number, if it fails, will the resulting number -1. Now we make the trailing stop function. See my code:

How to Create an EA
Then we make the move to breakevent function. This function use to move the stoploss to breakevent point. see this code:
How to Create an EA

we further utilize this function () referenced by MQL4.
The code that we used to put in the code for this function is to make EA adapt and work well on the broker with 4 digits or 5 digits pricing.
Besides this, the usual code placed here is the code to adapt a stoploss and Takeprofit EA with stoploss and Takeprofit minimum allowed by broker.
See this Code:
How to Create an EA
Then we continue with arranging a bit of code in the start () function. see what I have the chain:

How to Create an EA

Then we finish making this by completing deinit ea () function with this code:
How to Create an EA
then do backtesting in order to know whether this ea could work properly or not.
See results the backtest:

How to Create an EA


Happy trying.....








How to Create an EA Part 3




Previous Part 2,click here


Let us discuss the above code one by one:
1. # Property copyright "xxxx" code indicates ownership of an EA. This code works only when back testing course which will display the owner's name behind his name EA. See fig.

2. # Property link code indicates the maker EA link, in this case 'me'.

3. MagicNumber variable is used as an identifier order by EA. Only orders made by EA that has MagicNumber.

4. StartLot  variable indicating the amount of lots traded by EA basis. This variable is named StartLot Why? Because if the martingale feature enabled, This StartLot is the beginning of the arrangement lot of different magnitude

5. This StopLoss variable indicates stoploss levels if the market moves against.

6. Takeprofit variable shows how much our profit target in pips per order made by EA

7. TrailingStop variable shows how many pips in each direction will shift stoplossnya profit EA.

8. MoveToBreakEvent variable if set to true, after the price moves towards the profit of stoplevel + LockedPips, then stoploss will be moved to the opening price + / - LockedPips,depending on the type of orders

9. LockedPips read no. 8

10. RSIPeriod variable indicates the number of bars is calculated to obtain the value of RSI

11. UpperLevel variable to determine overbought

12. LowerLevel variable to determine oversold

13. Martingale variable if set to true, then the martingale function in this EA will be activated

14. This variable multiplier is multiplication factor that used to determine the amount of lots on the next order if the previous order is loss and the function of the martingale EA is enabled

15. DeepLevel  variable is used to determine how many levels deep martingale defeat of lot will be covered or duplicated over and over in the event of loss neberus row.

16. StartHour variables used to determine the clock starts trading

17. EndHour variables used to define the clock stops trading

Next we create an important function for this EA, the Counting Order Function.
More or less code of Counting Order Functions are as follows:

How to Create an EA
This function produces how many open orders are only made ​​by the EA. Other orders suppose we open another order both in the same pair or a different pair will not be counted.
Next we will create other functions that are not less important than the previous function.That is the checkforlosses function of the order  recently closed.

I use code like this:


advantage of this function it will still be able to recognize orders made ​​by EA and consider it a loss of orders or a profit even if the owner of EA makes a lot of orders manually.
Other functions that need to be made is lastlot. Lastlot used to determine lotsize of an order after found a loss by The CheckforLoss function above.

The code is like this:


How to create an ea

 This Function is to calculate Lot amount even the martigale is actived or not


Continued......





Friday, June 21, 2013

How to Create an EA Part 2



Previous Part1,click here

8. This step can also be passed directly by clicking on "finish". If you do, then external variable can be typed directly from the MetaTrader. Such stiffened if not much time to do the coding
It will be opened MetaEditor with a view like this:


How to create an EA





9. Expand worksheet so relieved and unsightly

How to create an EA

after unfolded, it was clear that a single worksheet MQL4 (EA) consists of several parts. :
Part. 1. Header File: contains the author information or owners
Part. 2. Copyright and link properties
Bag. 3. Initialization function. this function to initialize some variables EA
that the coding deliberately inserted into it. This function works only one time that when you first drop into the EA in drawing this chart.
Part. 4. Deinitialization function. This function only works once when EA shut down
Part. 5. Start function. function is called and comes to work every time a new tick.

Then we make the Code for user input that more less like this:

How to Create an EA



Continued >>









Sunday, June 9, 2013

How to Create an EA -Part 1



Step by Step to Create an EA.
  1. Open Metatrader
  2. Click Icon such as below:
  3. Then it will be open  MetaEditor like in the picture below:
  4. Click the icon as shown below (circled in red):
  5. Then it will pop up a dialog box like this. Do not forget to tick "expert advisor" and click "next" button because we will make EA first
  6. Then fill the EA parameters by clicking the "add" button and double click on the arrow No. 2 to 4 below
  7. Then click the "Finish" button when you're done



Continued...>





Monday, April 1, 2013

Let's FX Expert Advisor Smart multi Account Manager




Smart multi Account Manager developed for simultaneous management of multiple Metatrader 4
accounts on different MT4 brokers, which is mostly helpful for those who manage investors’
accounts (asset management or managed account services) and for traders working with many
accounts on different MT4 brokers simultaneously. Allow working with any amount of accounts
and any Metatrader 4 Brokers, receiving quotes for any symbols, placing all types of orders.
You can adjust different lots for each slave terminal (manually or automatically).

Features:
• No extra software running. Only 2 EAs needed to be run.
• Very easy 2 STEPS to get it works.
• Simultaneous management of multiple Metatrader 4.
• Different MT4 brokers.
• Ability to copy signals of expert advisors.
• Using own Money Management.

Usage:
1. Single MASTER account for many CLONES’ accounts.
2. Many MASTERs’ accounts for single CLONE account.
3. Many MASTERs’ accounts for many CLONEs’ accounts

Already Included PDF File user's Guide on File.



Download









Wednesday, March 27, 2013

Script Multi Pending Order for MT4

You can execute Multi pending Order using this Script.
Five pending Order in one time.
You can  download about 4 kinds of pending order script

BTC_5PO_BUY.ex4

BTC_5PO_SELL.ex4

BTC_PO_BUY.ex4

BTC_PO_SELL.ex4


Download



How to download: Click here







Monday, March 4, 2013

Download Script Orders



Script Orders for MT4


There are 8 Scripts ,.mq4 and .ex4 file format.Open Position at current price,buy/sell limit order,buy/sell stop order,Take profit,puts Stop loss,remove Stoploss or Take profit,delete all pending order,Close/remove All pending orders or current Open position
The purpose of these scripts is clear (see names), but to avoid confusion I will describe each separately.
•    _OpenOrders Mouse - This script opens a market order at the current price. If you released the mouse button below the current price, it will be exposed to Sell, if higher, then Buy. You can either specify the stop levels or after expose them to other scripts.
•    _LimitOrders Mouse - The script puts a limit order at a price where you threw the script. If you released the mouse button above the current price, it will be exposed SellLimit, if lower, the BuyLimit can immediately indicate the levels of stops or after expose them to other scripts.
•    _StopOrders Mouse - The script puts a stop order at the price where you threw the script. If you released the mouse button below the current price, it will be exposed SellStop, if higher, the BuyStop. You can either specify the stop levels or after expose them to other scripts.
•    _TP Mouse - The script puts the point in which you threw it, Take Profit orders to all, which can Take Profit at this point.
•    _SL Mouse - The script puts the point in which you threw it, Stop Loss all orders for which the Stop Loss is possible at this point.
•    _DeleteOrders - This script removes all pending orders
•    _DeleteSL & TP - This script removes the Stop Loss and Take Profit orders.
•    _CloseDeleteMouse - The script closes or removes (depending on the type of order) the order, the price which it is thrown. The price is determined with an accuracy of plus / minus slippage (set in parameters)




Download here




How to download: Click here













Posting Lama ►
 

Footer1

FOOTER 2

Footer 3

Copyright 2013 New Profitable trading system: Scripts Template by harga batre laptop. Powered by Blogger