Search:

Type: Posts; User: peteonthenet Total posts found:

Page 1 of 2 1 2

* Only the account owner can search for likes

Search: Search took 0.01 seconds.

  1. Replies
    105
    Views
    75,238

    Function to calculate total lots opened

    Here is the code fuction which will return the total number of lots which are currently running in open trades :

    Parameters: key is magic number, and type is the type of trades .



    double...
  2. Replies
    105
    Views
    75,238

    Here is code function which can be used say when...

    Here is code function which can be used say when ea needs to trade only during certain hours of the day and skip of certain day of the week :



    bool ValidTime()
    {
    if (DayOfWeek()==1...
  3. Replies
    105
    Views
    75,238

    CloseAllTrade Script

    Here is a code which can be saved as a script file in the Scripts Folder.

    To execute the script, drage and drop the script on the current chart, this will close all open trades and also pending...
  4. Replies
    105
    Views
    75,238

    Code to take Screenshot of Chart and save it to local drive

    Here is the Code that you can put in any EA to take a screenshot of the Chart and save it to disk, you can call this on any event like if there is any new trade taken, you can save the screenshot.
    ...
  5. Replies
    105
    Views
    75,238

    Numeric Chart Period to Text String Format

    Here is the code function that will return the chart period in the nicely formation text line.

    Example: (if EA is running on 1hour chart)

    chartperiod = periodToString(Period()) // will...
  6. Replies
    105
    Views
    75,238

    If you have request for any specific code...

    If you have request for any specific code function, please feel free to post your request here and will that code posted to you here in this thread.

    Of if you have own own custom codes and you...
  7. Replies
    105
    Views
    75,238

    Close All Function

    This function will close All open trades for a particual MagicNumber of EA.


    void CloseAll()
    {
    int total = OrdersTotal();
    for(int i=total-1;i>=0;i--)
    {
    OrderSelect(i,...
  8. Replies
    105
    Views
    75,238

    Count All Open Trades

    Following is a custom function which when called will return total of active trades for a particular magic number:



    int CountAllTrades(int magic) {
    int c=0;
    for (int...
  9. Replies
    105
    Views
    75,238

    Here is a code which you can use in an Expert...

    Here is a code which you can use in an Expert Advisors to automatically adjust variables depending on if the Broker is 4 digits or 5 digits pricing.

    following code should be inside the int Init()...
  10. Replies
    105
    Views
    75,238

    Usefull MQ4 Code Snippets/Functions

    In this thread, we will collect and discuss useful code snippets/functions that we can incorporate in Expert Advisors to make coding process faster and easier:good:
  11. Replies
    51
    Views
    20,546

    Hello, Whats the point of having this facily...

    Hello,

    Whats the point of having this facily as any person using ea can have email alerts with just simply with one line of code to generate the alert.

    Why do they need seperate ea to generate...
  12. Replies
    560
    Views
    127,515

    Good to know that the system has been working out...

    Good to know that the system has been working out good for you, keep practicing it on demo account till you get comfortable, and if need be make adjustments as necessary.

    All the best in your...
  13. Replies
    560
    Views
    127,515

    Its best on 5min Timeframe and for most major...

    Its best on 5min Timeframe and for most major pairs, and also for JPY pairs.

    You could also watch the same system on bigger timeframes like 1H, 4H, daily etc to get the market position on a wider...
  14. Replies
    560
    Views
    127,515

    If there is anyone else testing this system on...

    If there is anyone else testing this system on demo account then please feel free to post your trade charts or any improvements so we can all benefit.

    Please share your experience of trading...
  15. Replies
    560
    Views
    127,515

    Hello Malik, How have your testing of this...

    Hello Malik,

    How have your testing of this system been? hope its easy and profitable.

    This system will surely keep you out of sideways market, and catch good trends right when they start.
    ...
  16. Replies
    1,596
    Views
    297,061

    Support and Resistance is just one element of...

    Support and Resistance is just one element of Trading, one cannot simply enter the trade like that. We have to know why market has been reversing at the same place, and keeping in mind where the...
  17. Replies
    560
    Views
    127,515

    Yes, If you take some elements from this system...

    Yes, If you take some elements from this system and incorporate it in your own system, if it will increase your win probability then, its all good.

    Do also look for the levels indicator i posted...
  18. Replies
    7,943
    Views
    2,529,531

    Rightly said, Emotions is what actually gets...

    Rightly said, Emotions is what actually gets traded on demo and live environment. Volume of Emotions is very small in demo accounts, but Volume of emotions will be much greater in live account and...
  19. Replies
    560
    Views
    127,515

    PIPForce Trading System.

    PIPForce Trading System is very easy and profitable if used correctly. This trading system is traded on 5min Charts.

    Indicators used:

    1) Envelope1
    Period: 25, MA Method: Exponential,...
  20. Hello, NO this wont necessarily show you the...

    Hello,

    NO this wont necessarily show you the trend, but yes it can show you reversal points. So just put it on a chart and watch it a day or two and you will get the idea, the simple fact being...
Results 1 to 20 of 38

Page 1 of 2 1 2

Currently Active UsersCurrently Active Users

There are currently users online. members and guests

Forex Forum India | Forex Community Place Statistics Forex Forum India Statistics

Most users ever online was .

Welcome to our newest member,

Threads:

Posts:

Member: