int

  1. M

    (ask) please can you convert mq5 to mq4

    can you convert mq5 to mq4 i have only mt4 on my broker. Thanks in advance Max I hava error when i tried to upload the file so i have the source code. //+------------------------------------------------------------------+ //| UniversalOscillator.mq5...
  2. S

    (Help) Please help How to Coding in order to count OrderSymbol

    Hi all I have question about how to coding in order to count OrderSymbol() I open trade buy USDJPY ,EURUSD ,AUDUSD sell USDJPY ,AUDJPY ,USDCHF I want EA to count only 5 pairs but my EA count 6 pair. if that same pair just count 1. Please kindly help I don't know what to do. This my...
  3. O

    (Help) Edit Expert Advisor

    Please i need to help Please . can you add another moving average . Median . Fore example : FastPeriod=10 MedianPeriod=50 SlowPeriod=100 Open order when moving average 10 cross moving average 100 . Close last order when moving average 10 cross moving average 50 . Loop More explain : When...
  4. F

    (Help) why do i get this error when compiling?

    Im making a closeall button and im stuck on this issue.. void criarlabelControl (string nome,string texto, color cor,int x,int y,int size,int corner=1){ if (nome!="PairLabel")int soma=y+30; else int soma=y; <------ where soma is declared. ObjectDelete(nome); ObjectCreate(nome,OBJ_LABEL,0...
  5. J

    (Help) please decompile . Thank you

    string FeederTick; string TraderTick; void OnTick() { while(IsStopped() == false) { RefreshRates(); string InpFileName1=""; string InpFileName2=""; string InpFileName3=""; if(Symbol() == "EURUSD") { InpFileName1="status.txt"; InpFileName2="tick.txt"...
  6. B

    Could use some help cleanig up my mess of an EA

    Hi everyone. I have working (searching the forum) the last few weeks and managed to pull together an EA that does not compile errors any more but the structure of it is all wrong and because is not executing at the proper times. I was hoping some kind soul could take a look and help me to...
  7. M

    Help with setting max orders

    Hi everyone, would any of you experienced coders be able to help me add an input to set a max orders to this script that will not open news orders after "x" that relate to the this pair and magic number? I really appreciate any help on this. extern double lots=0.1; extern double target=4; int...
  8. Z

    Lock Account Number

    Hi, I want to lock account in ex4 file. Below is the example for one account. How to do for multi account, let say 3 or 4? int ccc= 12345; int start() { if ( AccountNumber( ) != ccc) return(0); ........................... } Thanks.
  9. S

    Copy/Repeat value of signal (custom indicator building)

    Hello there, good evening WWI I just want to know if someone can help me how to copy/repeat value of signal. :) I am tinkering with Forex Ea Generator software to create a custom indicator (my first time trying to create one) where if 3c_turbo_jrsx_filtered.ex4 crosses down 70 level, a red...
  10. A

    EA locking

    Hello I'm using the following part of code to lock a certain EA //Date Lock bool use_demo=True; int demo_year=2015; int demo_month=7; int demo_day=30; //Account Number Lock int acc_number=11223344; int start() { //demo if(use_demo) { if((Year()>demo_year || (Year()==demo_year &&...
  11. alessandromagno

    high-frequency EA

    Found this in a russian forum. It opens many pending orders, as a tick scalper usually does. It is very profitable until the DD become high.. Maybe you would try it. This works with stop orders This work with limit orders From russian language i paste here the settings: extern double...
  12. A

    Ilan New Filter Ea

    Suggest adviser on the basis of Ilan, only there is a filter for H1, H4, D1, on the basis of the signal filter, Ilan trades only down or up only. In the settings you can adjust the filter settings, and the settings of Ilan. According to the test results adviser takes good profit with minimal...
  13. R

    Could you please help me to get this ea works on MT4 digital 5 or 4

    Hi All, Could you please help me to get this ea works on MT4 digital 5 or 4, and if possible to limit the Trades open position with Max trade option and her is the Code: //+------------------------------------------------------------------+ //|...
  14. K

    Please help to code a Function

    I am a beginner in programming. I want to write a function that calculates the profit of the first and the last two buy orders ( other Funktion for Sell orders ) . Here is my code : double Profit3Buy() { int total=0; double Amount1B = 0 ; double...
  15. B

    Re: Please help me to make an EA based on this profitable strategy. Thanks a lot

    Re: Please help me to make an EA based on this profitable strategy. Thanks a lot Dear Capello, I know you are a very good coder, and so, I wish that you can help me code an EA based on the following profitable strategy. Thanks a lot in advance. Here are the trading rules: = = = quote = = =...
  16. cyberom

    (Help) Function not defined

    Hi, I would like to add a "No Friday Trading" code to an ea, but i have still 2 errors (in red) and i'm a pure newbie in coding (i copied this script from another forum). Could you help me, please? Thanks in advance extern string e="Weekend"; extern int StartDay=1; extern int StartHour=3...
  17. D

    help me to find the LOGIC behind this indicator code

    pls... #property indicator_chart_window #property indicator_buffers 3 #property indicator_color1 Green #property indicator_color2 Red #property indicator_color3 Red extern bool Sound.Alert = TRUE; double g_ibuf_80[]; double g_ibuf_84[]; int init() { SetIndexStyle(0, DRAW_ARROW, EMPTY, 3)...
  18. O

    Writing CSV files to any location, code outdated

    So after all the updates of MT4 my code doesn't work anymore and I wonder if anyone could help out with indicating what I should change to get it back to work again. I'd like to have an EA write a CSV file to any location on a machine, not just the /files folder. Any ideas? #import...
  19. P

    Can someone modify this indi

    So we can drag it up or down and place it on any price line on the chart, and also show price over or under the line itself instead of the vertical scale. Would truly appreciatte it. Thanks; //+------------------------------------------------------------------+ //|...
  20. X

    Please help me to insert text in the alert message?

    This indicator tells me message with only "Buy or Sell", you could blend in and feel that comes from the alarm? For example, in the message long Eur-usd Thank you and good day #property indicator_chart_window #property indicator_buffers 4 #property indicator_color1 Black #property...
Top