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...>





Saturday, June 1, 2013

Top 7 Trading Entry Tips



Top 7 Trading Entry Tips


These are the Top 7 Trading Entry Tips


  1. Think contrarian to other market participants, and act on your signals without emotion.  
  2. Uses a simple naked price chart (no magical indicators).  
  3. Uses timeframes 1 hour or above  
  4. Use Patterns that are easily identified.  
  5. Look for patterns that repeat themselves often on the time frame we trade.  
  6. Use price action as confirmation , don’t get in before!  
  7. Trades with the path of least resistance (short term daily chart trend pressure) when starting to learn.


Written By: Nial Fuller ; Price Action Trading Course,







◄ Posting Baru Posting Lama ►
 

Footer1

FOOTER 2

Footer 3