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

Log-In or Register to get unlimited download access of Forex Robots!

Login with Facebook!

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

Assar V11

by bongs33

Trendline Idikator

by an84ma

very easy ea

by an84ma


Pages 1

You must login or register to post a reply

RSS

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

Embed topic to your site

AmazingEA

Topic: AmazingEA

Please check the following Thread on Forex Factory for News and Updates
http://www.forexfactory.com/showthread.php?t=6854
How do I make AmazingEA work?
1. Look up the time of a news event, preferably High Impact, on Forex Factory Calendar
2. Convert the news time to the equivalent time on your Broker’s platform
3. Set NYear, NMonth, NDay, NHour, NMin and NSec to what the clock on Market Watch on MT4 will say when the news hits
4. The Default Settings are adequate for testing on Demo
5. If the EA doesn't place orders check the 'Amazing EA Troubleshooter' text file, page 5 below
PointsAway - Stop Order Distance in Points
Distance above the current ask price and below the current bid price where the Stop Orders will be placed, unless CTCBN > 0. (Candles To Check Before News – see below)
If CTCBN > 0, the PointsAway distance will be added to the High and Low figure from CTCBN.
If PointsAway is set to 0, the EA will use the broker's minimum distance for Pending Orders.
PointsGap
Orders are opened initially further away so they don't trigger accidentally and moved into position SecBAO seconds before News Time. This used to be hard-coded TP 10000 but caused issues with 4-digit brokers. Please set to what is comfortable but please make it more than 1000 points.
ModifyGap
The EA modifies orders to keep the straddle positioned around current price, but each modification takes 1 or 2 seconds which is obviously much slower than price can move. ModifyGap sets the minimum distance that price has to move before generating an order modification. The idea is to stop the EA modifying orders for 0.00001 change in price, so it is ready for the larger price movements that might occur later. A value of 5 would mean EURUSD @ 1.32010 would need to be 1.32015 or 1.32005 before modifying. Set to 0 to disable.
TP - Take Profit amount in Points
When the order gets into profit this amount of Points, it will be closed automatically. Set to 0 to disable.
SL - Stop Loss amount in Points
Plus the Spread if you set AddSpreadToSL=true. Set to 0 to disable.
These following five parameters (NYear, NMonth, NDay, NHour, NMin and NSec) are the broker's date and time, not the PC's date and time.
NYear - News Year
If NYear, NMonth and NDay are all set to 0, then the EA will trade Monday to Friday day at NHour, NMin and NSec. Brokers do not allow Pending Orders to be entered over weekends.
NMonth - News Month
See Note for NYear
NDay - News Day
See Note for NYear
NHour - News Hour
NMin - News Minute
NSec - News Seconds
CTCBN - Candles To Check Before News
For determining High & Lows , when it is 1 it checks the current candle, when it is 2 it checks the current candle and the previous one. If CTCBN = 0, PointsAway is used from Bid price for Sells and Ask price for Buys. If CTCBN > 0, Pointsaway is used from the Low for Sells and High for Buys, where the Low and High are the lowest and highest price reached within the number of candles specified. Set to 1 for default, 0 to disable.
SecBPO - Seconds Before Pending Orders
How many seconds before News Time should the EA place Pending Orders. There is a trade-off here. If set too high, the pending orders may go live early. So, set this as low as possible. But if it's too low, there may not be enough time for MT4 to open the orders. Running 6 charts on 3 brokers, expect to set this to at least 60. Most traders will find the default setting of 20 adequate. This is not going to happen at the exact second specified, because EA code is executed only when a tick signal comes from the broker, but around the news price movements are frequent. If you set SecBAO, a special technique will be employed where the orders are opened 1000 points away + Pointsaway setting from current price, which allows you to open orders earlier but safely. See SecBAO setting.
SecBMO - Seconds Before Modify Orders
Once the orders are placed, the EA will follow the price movement and modify orders accordingly so that they are always the correct distance away from the current price. With some volatile news this can be quite often, so if that creates a problem with your broker you can set this to half of the value you put for SecBPO, if you put this to be equal as SecBPO than EA will not modify the orders at all. If set to 0, then the EA will keep modifying right up to the news time. Default Setting is 0.
SecBAO - Seconds Before Adjacent Orders
If you set SecBAO, a special technique will be employed where the orders are opened 'PointsGap' points away + Pointsaway setting from current price, which allows you to open orders earlier but safely. When the time reaches SecBAO seconds before the news, the orders will be moved into place. If you set this to the same value as SecBPO, the code is ignored and the EA just opens the orders at the normal distance and doesn't move them. On Demo, you may find the orders aren't moved because there aren't enough price ticks generated. In this case try setting SecBAO higher than 10. On Live, during news you may be able to set as low as 3 seconds. Default Setting is 5.
STWAN - Seconds To Wait After News
This is the timer to cancel all the orders that did not get triggered. Default Setting is 5.
OCO - Order Cancel Other
If this is set to true, when your order gets hit the corresponding opposite order will be cancelled but without waiting for STWAN time. This is only effective after News Time, not before.
BEPoints - Break Even Points
Points In profit which EA will Move SL to Break Even + BEOffset; a nice way to lock in some profit. If you leave it at 0 nothing will happen.
BEOffset - Break Even Offset
Number of points to move beyond Break Even (allows covering Broker Commissions etc.) Set to 0 to disable.
TrailPoints - Trailing Stop
Enter the amount of Points you want to trail by. If you set this to 20 points, the EA will maintain a distance of 20 points behind current price. Setting to 0 disables trailing stops.
TrailOffset - Trailing Stop Offset
Enter the amount of Points after which you want Trailing to start. Setting to 0 enables Trailing to start as soon as the trade is in profit. If you set this to 150, and TrailPoints is 50, then after 200 points in profit, your Stop will jump to 150 points and maintain a distance 5 points behind current price as long as price keeps moving in the correct direction of course.
TrailImmediate - Start Trailing Immediately
If set to true, the EA will start moving the Stop Loss even when the trade is not in profit. Only do this on brokers where the spread is kept low. If the broker is prone to spike the spread, then this will cause early stop outs. The advantage of using this is that if the news comes out as expected and the trade moves a little bit in your favour, but then reverses, you may capture a few pips.
MM - Money Management
If you set MM to true, the EA will automatically determine the number of lots for your orders, according to the risk you are willing to take
RiskPercent - The risk you are willing to take on any single order
Risk Percentage is worked out as a percentage of the available margin. The calculation now uses 2 decimal places instead of 1, which will allow the trading of micro-lots. The calculation currently now takes into account Stop Loss distance. If you set MaxSpread, then the Risk calculation will be based on Stop Loss distance + MaxSpread. However, please don't assume that is your maximum risk because brokers can and will slip stop-loss orders.
Lots - Number of Lots for your orders
If you set MM to false, than you have to tell the EA how many lots to use for the orders; so if you put here 1, every order will be placed with 1 lot
MaxSpread - The maximum spread in points you wish to allow for your orders
If the spread grows higher than this level, the EA deletes any Pending Orders and will not open new ones until the Spread lowers below this Setting for at least 5 seconds. Don't worry if your orders go live just prior to deletion, the EA will still manage them. Set to 0 to disable.
AddSpreadToSL - Whether to include the spread in Stop Loss settings
If you set AddSpreadToSL to True, then the EA will automatically add the spread to the Stop Loss, so 10 pips will actually become 10 pips plus the spread which could be 20 pips during Non Farm Payroll news release. If you set AddSpreadToSL to False, the EA will set hard stops based on this setting only, which is good for knowing your max risk etc. You can also use MaxSpread to limit the stop level required for the Spread.
AllowBuys - Whether Long Orders are allowed or not
Default is true. Set to false to disable Long Orders.
AllowSells - Whether Short Orders are allowed or not
Default is true. Set to false to disable Short Orders.
TradeLog
EA will use this to create a name for the log file. If you set this to 'AmazingEA', and use it on a EURUSD chart, the logfiles will be called 'AmazingEA-EURUSD.log'. You will find this file in the experts\files folder of your MT4 platform, with detailed explanations what took place while EA was running.
A new logging function has been added to capture EA settings in the Comment field of the trade. This is very useful because you can instantly see what settings were used on a trade in 'MyFXBook' for example without hunting through logfiles.
Because the Comment field is quite small (max length 32 characters), I have had to abbreviate everything and skip settings that can be worked out from the trade itself.
Example: P100T1000S100C1P20A5M0W5O0B50T0 - This means Pointsaway=100, TP=1000, SL=100, CTCBN=1, SecBPO=15, SecBAO=5, SecBMO=0, STWAN=5, OCO=0, BE=50, Trailing=0
Summary
So, when you attach AmazingEA to your chart and set it the way you want, it will monitor what is happening, place buy and sell orders, modify them, move hard stops to break even, trail stop them ... and do the best it can to help you make some $$$$$. Test it on demo before you go live, to make yourself comfortable with it and to see how it will interact with your broker.
A new safety function has been added to delete any pending orders when the EA is removed from the chart. However, if you disable the EA, and you have pending orders already placed, the EA will no longer adjust the straddle, with the consequence that your pending orders may go live before news time. The safest way to disable the EA is to remove it from the chart. Another quick way is to disable EAs and change the timeframe. When setting up, one should always save the settings used in a .set file - this makes it easier to setup again on the same or another broker.

Amazing EA Trouble Shooter
1. In Tools, Options, Expert Advisors, make sure you have checked 'Enable Expert Advisors' and 'Allow Live Trading'
2. Drop AmazingEA onto a chart. You should see 'AmazingEA' in the top right hand corner of the chart with a Smiley Face next to it. If there is a cross instead, go back to Step 1.
3. Click on the chart and press F7, or right-click on the chart and choose Expert Advisers, Properties.
4. Setup the various parameters for the trade.
5. In the top left corner of the chart there is a comment entitled 'Amazing Forex System Expert Advisor'
6. Near there, you can view various parameters and also compare the News Time with the Brokers Time.
7. The NYear, NMonth, NDay, NHour, NMin, NSec parameters need to correspond to your Broker’s time not your PC time. If you set a date, you need to set all three date parameters NYear, NMonth and NDay. If you don't set the date, be aware that the EA will trade every day at the relevant time set by NHour, NMin and NSec.
8. There is a hierarchy for SecBPO, SecBAO and SecBMO. SecBPO has to be greater or equal to SecBAO which has to be greater than SecBMO.
9. When the Broker Time nearly coincides with the news time, the EA will place Pending Orders. SecBPO is how many seconds before the News that the orders are placed.
10. If the pending orders are not placed, it is possible that 'Allow Live Trading' is not checked.
11. If Only Long or Only Short orders are placed, then check the Common section of the EA Properties and ensure that it is allowed to open both 'Long & Short' positions.
12. Check the 3 log files. The standard name is AmazingEA followed by the Currency Pair of the Chart, so for EURUSD it will be called 'AmazingEA-EURUSD.log'. You will find this file in the <MT4>\experts\files folder of your MT4 platform, with detailed explanations what took place while EA was running. There are 2 other log files named YYYYMMDD.log where YYYYMMDD is the current date e.g. 20130507.log. These are located in <MT4>\experts\logs and <MT4>\logs.
13. If you can't find the log files and you installed MT4 in '\Program Files\' or '\ProgramFiles (x86)\' then it is because Windows 7 or 8 prevents Applications from writing log files in the Program Files area. So then MT4 is probably writing the logs in the ProgramData directory, which is a 'hidden' directory structure. The easiest way to access that area is to open a 'Run' command and type %AppData% and press enter. You will then see a list of subdirectories. Pick the one that corresponds with the Brokers name and then look in that directory for 'experts' or 'logs'. The best thing in future is to install all MT4s in a \MT4 subdirectory, so you don't experience this issue.

Post's attachments

AmazingEA-1.1.8.mq4 21.75 kb, 15 downloads since 2018-03-04 

Share

Thanked for the post: jozmik

Posts: 1

Pages 1

You must login or register to post a reply

Last Posts

  • 20/08: trading stop ema 10 ema 100
  • 19/08: 1-2-3 pattern, PZ Harmonic
  • 19/08: Choice of trading platform
  • 18/08: BEST TRENDLINE METHODS by Patrick Mikula
  • 17/08: Assar V11
  • 17/08: Guidance for beginner
  • 17/08: Broker selection is difficult today
  • 16/08: The assar v8 of bader alharbi is real?
  • 16/08: How do I connecto to a EuropeFX Demo Account
  • 16/08: My Favorit EA Lifechanger
  • 16/08: credible broker
  • 16/08: Assar v8 1m eurusd the best forex my test ok good
  • 16/08: HIGH DRAWDOWN AND CONTINIOUS LOSS MAKING ROBOT
  • 16/08: Ubat 5.0
  • 16/08: Scalping EA Use on H1
  • 16/08: Selection of broker
  • 14/08: Trendline Idikator
  • 14/08: very easy ea
  • 14/08: BBMA indicators 1
  • 14/08: UPDATE: This robot now makes huge money! $24,512 profit in 10 days!
  • 13/08: Virtual Earning Platforms
  • 13/08: IceFX TraderAgent pro
  • 12/08: Trading as per rule
  • 12/08: PZ Harmonic Scanner
  • 12/08: HNAVHelios + V2.04 any member have this EA?
  • 11/08: This robot made me over $20,000.
  • 11/08: supertrend ea basic
  • 11/08: Forex Tips EA
  • 11/08: Very interesting free EA
  • 11/08: face great adversity
  • 11/08: PRO VSA EA
  • 10/08: Good broker or scam broker?
  • 10/08: Arbitrage Forex Software
  • 10/08: Hobbit v7
  • 10/08: Candle Stick Trading Bible by Homma
  • 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 (450)
  • ASSAR V9 (Trend Breakout Edition) 2017 Expert Advisor (417)
  • spartan bolt V6 (414)
  • Assar_03_EA (389)
  • 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 (110)
  • 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 (75)
  • Good EA 2017. Free !!! (63)
  • Hedge Expert Advisor (63)
  • 100 pips profits trading (63)
  • Best Indicator That No Repaint!!! (61)
  • Magic Fx Formula indicator-V2 (61)
  • BAR EA V5.1 (60)
  • hello (60)

  •  

    NOTE: Hacked or 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: 21,445
    • Newest registered user: Oscar Sim Yik Chiang
    • Total number of topics: 11,157
    • Total number of posts: 36,666

    Online users: 1,796 guests, 189 Members:

    777legrand, adamvega, admin, ahmadnasrallah, ajezarrin, akulah08, algomatru, an84ma, anees, Angelo, anj, AnthonyT, antirsi, apatel, astighunter, axel7969, Bandeauman Gjc RG, bbtt181, Bertjan, bestkid321, bongane, Bos Sanac, c4s3linux, calimocho5, cerresky, charity03, charlieraly, ChatChai Chatza Kanjanamala, chukassis, coachklso, colin, cosmarchy, customsveeraiah, cyrille1209, d.kultida, dadankoswara.hakim, Daechopon J Khamhom, dante, Dany Dan, Darshana Samaraweera, delfin20, dongsan0617, Donnie Drajat, Dr-deiff David Navas, dsavse, eder_japan, edingoe, EduBaires, edwardoppm, elcairzaa, Engr Kemi Babawale, Eva Kovacs, faustotex, fernando, filo, Forexgenwinner, forexgovindan, forumes, Freddy Heyd, galihridha, Gizmo79, gntgnt8, goodlove, hadipurwanto, Hamad Ali, HappyForex, hendrikwong, hhh45, Hoooba14, Horacio, Hyunki Choi, ihkpessii, Inconito75, ivan.f.yin, janreichen, jnigg7, Jo Vanzell, joneswla, Jose Ferreira Nascimento, Jovi Gonzales, jozmik, jplute, Judy Trading, juliantojuli, jvalenzuela.esp, jvzoo, kckcki, Keke, kgosimangmoime, Khoza73, kristiteli, laral80, lehuyvu1972, Lelia Izy Seutloali, Leo Ibeh Nwosu, lolsun, lotos017, Lucas Alonso, lydaravin6, lyoung4472, machs_nochmal, magallan09, magoalberto1996, marcomalley86, marcoperauer12321, martinesleonardo, Mas69, masm20, Mauricio Ximenes, miguefx, MontyZ, mr4x, mrmaggi007, Muhamad Nurahman, m_peyman2000, n111, nawef1793, Neville Carr, nguyentrieuit, onlytv80, Oscar Sim Yik Chiang, palexis479, patblack2000, pathumjm123, Patrice Rouhard, pauljfitzpatrick, Peakpond Pond, Phacharawatt Nissayant, pigman50, pirro, piyadela, pky2j2000, ptumde, Rafael Ramos, Rati Robson Kaydee, rhwillms, Rodrigo Oliveira, Rogerio Caeiro, romiekabelo, roshan5999, Roson Chea, rwmngt, sanjivam, sasastephe, seelan.043, seenuchennai, shiki_amber, shuja.ayrr, slavadu, slmssk, sohailahm7, Sopon Seeon Live, srca7354, Sry Lai Sreang, starlimit, sunwindside, Takeme Toyoure Lazyboy, Tam Van Nguyen, Tarek Almaremi, techman777, thatCy, Thobib Herba Qaseh, Titus Nomsure, topbestfx, trade4xxind, tradingralf, Trần Quốc Việt, urdivine, Varich Patchotchai, Veres Gàbor, viajrdz19, Vicente Cardona Gotarredona, Victoriano, vieri, Vincent Yee, Virulh Jirathitikal, vodafone2066, waterfall, Welsige, why, Wllie Bester, xxnuclearxx619, Yafie, yaniv.bh98, Yannick Ducoffe, yehudit_i, ze2848, ZHOUBAO, 남궁환

     


    Copyright MT4talk.com Forum Rules - Privacy Policy.