Re: Coding Help

#1231
Mrtools
I’m trying to get a semafor , which paints, to show a trend 1 or -1 until it changes again. I thought I had it working but it looks like not well enough. Lines 321 to 338 are my code to keep the 1 or -1.
I realize that any false hit later on will change the trend but I hope to validate the real trend ,1 or -1, with another indicator, RSI, at the time of the semafor change, so if the semafor gives me a 1 or -1 it is not used unless the 2nd indic backs it up.
I hope I’ve explained it enough.
I would appreciate any help

See attached:
Chaos Semafor - 3.4_Mod-3lv-mxb-rk2.mq4
(45.39 KiB) Downloaded 85 times
3-16-2021 10-13-24 AM-chaos.png
The green semafor is validated by the 2 rsi
3-16-2021 11-36-45 AM-confirmed choas.png
the red is validated by the 2 rsi, 1HR & 23 minutes later


Re: Coding Help

#1232
Hoping for some help.
I have a dashboard that shows all pairs in the symbol list.

extern string symbols_list1 = "AUD,CAD,CHF,EUR,GBP,JPY,NZD,USD"; // SYMBOLS LIST
extern string symbols_dropout = "DKK,SEK,NOK"; // SYMBOLS DROPOUT

I would like it to only show specific currency pairs that I chose, excluding others.
How can i go about this? Thanks!

Re: Coding Help

#1233
Hello.
Mrtool, I'm asking for help ... I tried to put a max min level in the indicator. The original indicator is at cross 0. I would just like the first arrow and I don't know how to proceed. I've tried different combinations ... but it shows me either all the arrows or none. The first code is the original, the second one of my combinations ....
thank you.
2021-04-13_232219.png
2021-04-13_232846.png
2021-04-13_234452.png

Re: Coding Help

#1234
MrTools
I tried several ways to show the trend bet none successful. See that I got the Chaos working but it dese not work on this TMA. I got the trend to show but it won't change when the arrow changes.

appreciate any help

ps: never mind I found the answer!

Re: Coding Help

#1235
Hey Mr. Tools I have a MT5 EA that does not work in the Strategy tester properly. After doing some research it seems to be that I don't have "error testing" in my EA therefore when I test it sometimes it comes back with no results. I also get a "wrong timeframe request in open prices mode" but it doesn't work in any mode. So places say that I need code like this everywhere but i'm not sure.

if(CopyOpen("EURUSD",Inp_timeframe,0,1,buffer_1)!=1)
Print("CopyOpen Error : ",_LastError);

Thanks for any help.
Trendlines.mq5
(30.78 KiB) Downloaded 26 times
TrendlinesEA.mq5
(46.6 KiB) Downloaded 21 times


Re: Coding Help

#1236
Greetings, I do not know if this is the correct thread for my application, I am learning to program and I would like you to share codes to give me security to the codes since the few that have been violated all end with the extension fix, I would like help so much for mt5 like mt4 thanks

Re: Coding Help

#1237
Hi people. Looking for an indicator or someone that can code one that gives candle remaining time output into a buffer to be used in fxDREEMA.

Much Appreciated.

LoveRe: Coding Help

#1238
I found this indicator (Lsma Wpr filtered) here,I think is made by mrtools and compiled with value 14 . Can be compiled with value 12 and 13 too please ? I need to use it to make an EA and I need 12 and 13 value(I can`t change it because the source code is not public . Thank you !
Lsma Wpr filtered.ex4
(22.22 KiB) Downloaded 27 times

Re: Coding Help

#1239
yamahaqs300 wrote:
Sun May 02, 2021 8:00 pm
I found this indicator (Lsma Wpr filtered) here,I think is made by mrtools and compiled with value 14 . Can be compiled with value 12 and 13 too please ? I need to use it to make an EA and I need 12 and 13 value(I can`t change it because the source code is not public . Thank you !
Sorry, not understanding what compiled with value 14 is. For a EA you can use buffer 0 which would be the lsma wpr or buffer 4 which is the slope coloring of the lsma wpr.

Re: Coding Help

#1240
mrtools wrote:
Mon May 03, 2021 4:53 am
Sorry, not understanding what compiled with value 14 is. For a EA you can use buffer 0 which would be the lsma wpr or buffer 4 which is the slope coloring of the lsma wpr.
Lsma Wpr Period =14 . I need this value to be 12 .That`s all . Thanks


  1. Similar Topics

    1. Coding help please

      1 Replies 380 Views

      by Deez, Thu Nov 05, 2020 6:54 pm in Coding Help

      1 Replies
      380 Views
    2. Coding help

      0 Replies 502 Views

      by Mukhari325, Mon Jul 20, 2020 8:54 pm in Coding Help

      0 Replies
      502 Views
    3. CODING HELP

      0 Replies 114 Views

      by slyfer91, Sun Apr 25, 2021 6:43 am in Coding Help

      0 Replies
      114 Views

Return to “Coding Help”