Page 4 of 4

Re: MT4 Coding Examples

Posted: Tue Apr 16, 2024 1:13 pm
by Banzai
New Feature: color candles and arrows

Previous version: 2xMA BT.mq4

New Version: 2xMA (candles + arrows) BT.mq4

Date Coded: Jan. 2, 2022
Image

Re: MT4 Coding Examples

Posted: Tue Apr 16, 2024 11:23 pm
by josi
Banzai wrote: Tue Apr 16, 2024 1:13 pm New Version: 2xMA (candles + arrows) BT.mq4
Changing the arrow code doesn't change arrows in your indicator (despite: input possibilities) because they are "hard-wired" in the code.
You have to reference your inputs to the code (look for wingding 108)

Re: MT4 Coding Examples

Posted: Wed Apr 17, 2024 8:21 am
by marwilli
josi wrote: Tue Apr 16, 2024 11:23 pm Changing the arrow code doesn't change arrows in your indicator (despite: input possibilities) because they are "hard-wired" in the code.
You have to reference your inputs to the code (look for wingding 108)
I corrected.
Quick friendly question, why don't you correct it yourself if you've already found the error? Not meant to be accusatory, purely informative

Re: MT4 Coding Examples

Posted: Wed Apr 17, 2024 3:19 pm
by josi
marwilli wrote: Wed Apr 17, 2024 8:21 am Quick friendly question, why don't you correct it yourself if you've already found the error?
I would never dare to "improve" somebody else's coding.

Re: MT4 Coding Examples

Posted: Wed Apr 17, 2024 9:42 pm
by boytoy
josi wrote: Wed Apr 17, 2024 3:19 pm I would never dare to "improve" somebody else's coding.
+1 same here

Re: MT4 Coding Examples

Posted: Fri Apr 19, 2024 7:59 am
by Banzai
this is how a coder goes by the name, BestTraderEv, does the button.
Perhaps his code crashes less.

if you see:

Code: Select all

//Forex-Station button template start42; copy and paste
   EventSetMillisecondTimer(36); 
//Forex-Station button template end42; copy and paste
then just copy and paste that part

I think this indicator recalculates.