Re: Coding Help

#1102
traderduke wrote:
Wed Mar 18, 2020 4:33 am
MRTOOLS
Could you help me to code the MAXBARS in this semafor. I got the trend added but the code I have used to maxbars isn't working in this indicator.
Any help would be appreciated.
ray
Chaos Semafor - 3_Mod-rk-td-2.mq4
There's probably a better way of doing it, but this is the only way I know.
Chaos Semafor - 3_Mod-rk-td-2.mq4
(44.46 KiB) Downloaded 148 times

Re: Coding Help

#1104
mrtools wrote:
Wed Mar 18, 2020 5:14 am
traderduke wrote:
Wed Mar 18, 2020 4:33 am
MRTOOLS
Could you help me to code the MAXBARS in this semafor. I got the trend added but the code I have used to maxbars isn't working in this indicator.
Any help would be appreciated.
ray
Chaos Semafor - 3_Mod-rk-td-2.mq4
There's probably a better way of doing it, but this is the only way I know.
mrtools
thanks it worked but it didn't make as much difference in the large CPU requirements as I thought it would. I'm going to cut back the 3 semafors to 2 then to one as an attempt to cut the cpu usage. Now that I have your code I won't have to bother you.
Any body got any other ideas?
Thanks again for the speedy answer
Ray

Re: Coding Help

#1105
hello coders;
i want to make mql5 version of this indicator ;
i try to convert mql4 to mql5 ; in mt4 indicator show cycle in separate window but not in mt5.
i don't have any ERROR or Warning in mql5 code but in mt5 indicator doesn't show anything ........
can anyone help to fix it please?
Cycle_KROUFR_version.mq4
(10.54 KiB) Downloaded 89 times
Cycle_KROUFR_version.mq5
(13.48 KiB) Downloaded 71 times


Re: Coding Help

#1107
milad1987 wrote:
Fri Mar 20, 2020 7:12 pm
hello coders;
i want to make mql5 version of this indicator ;
i try to convert mql4 to mql5 ; in mt4 indicator show cycle in separate window but not in mt5.
i don't have any ERROR or Warning in mql5 code but in mt5 indicator doesn't show anything ........
can anyone help to fix it please?
i change the mql5 code and previous problem solved but now i have ERROR "array out of range" in run time can anyone help why i have this ERROR?



ahhhhhh.......sorry solved.

Checking for EMPTY_VALUE

#1108
The following code shows FALSE on the chart.
I'm sure there's something very basic that I'm missing, but I don't see it.

Code: Select all

double buffer[];
int start()
  {  
    buffer[1] = EMPTY_VALUE;    
    if (buffer[1] == EMPTY_VALUE) Comment("TRUE");
    else Comment("FALSE");
    return(0);
  } 

Re: Coding Help

#1109
Hello,

What will take you to build a tried, tested and reliable automated EA
1. That can trade on 30m and 1hr TF.
2. A scalping EA too that can pick at 10/15pips on every move in 1m and 5m TF

Thanks


  1. Similar Topics

    1. Need coding help, if possible!

      2 Replies 507 Views

      by brenofguedes, Thu Mar 12, 2020 2:05 pm in Coding Help

      2 Replies
      507 Views
    2. Ea coding very basic

      0 Replies 302 Views

      by Dutchman2433, Wed May 06, 2020 5:42 am in Express Coding & Commercial Services

      0 Replies
      302 Views

Return to “Coding Help”