Pacois can you help restore MACD Pivots

#1
pacois......... pls helping........... this indi some years ago & I wanna learn fixing it cos its not nmc............

kk so here i do this!!!
trying 2 compile @ there is 12 error.................... should i just double click each error and delete those line of codes 2 make it work??? or is there special technique??

below............. i double click on errors................ then i will delete all those line of code?? is it ok??? & press compile?

Mod edit: Uploaded photos for member
macd__pivots.mq4
(5.33 KiB) Downloaded 252 times
compiling-errors-mt4.png
compiling-errors-2-mt4.png


Re: Pacois can you help restore MACD Pivots

#3
moey_dw wrote:
Sat Sep 14, 2019 5:55 pm
pacois......... pls helping........... this indi some years ago & I wanna learn fixing it cos its not nmc............

kk so here i do this!!!
trying 2 compile @ there is 12 error.................... should i just double click each error and delete those line of codes 2 make it work??? or is there special technique??

below............. i double click on errors................ then i will delete all those line of code?? is it ok??? & press compile?

Mod edit: Uploaded photos for member
Made it nmc.
macd pivots.png
macd pivots.mq4
(5.34 KiB) Downloaded 408 times

Re: Pacois can you help restore MACD Pivots

#4
mrtools wrote:
Sun Sep 15, 2019 11:52 am
Made it nmc.
mrtoolz........... im thanking u so much for that............... now i am try to understand how u make it nmc................ can i asking this man

previous non nmc one code is

Code: Select all

string stringUpperCase(string str)
{
   string   s = str;

   for (int length=StringLen(str)-1; length>=0; length--)
   {
      int char = StringGetChar(s, length);
         if((char > 96 && char < 123) || (char > 223 && char < 256))
                     s = StringSetChar(s, length, char - 32);
         else if(char > -33 && char < 0)
                     s = StringSetChar(s, length, char + 224);
   }
   return(s);
}

new one nmc is..................

Code: Select all

string stringUpperCase(string str)
{
   string   s = str;

   for (int length=StringLen(str)-1; length>=0; length--)
   {
      int tchar = StringGetChar(s, length);
         if((tchar > 96 && tchar < 123) || (tchar > 223 && tchar < 256))
                     s = StringSetChar(s, length, tchar - 32);
         else if(tchar > -33 && tchar < 0)
                     s = StringSetChar(s, length, tchar + 224);
   }
   return(s);
}

so 2 fix nmc.............. only difference i do is 2 make it nmc is add T word so becomes TCHAR?
nmc-coding-mt4-change.png


Re: Pacois can you help restore MACD Pivots

#7
pacois wrote:
Sun Sep 15, 2019 5:15 pm
Hi, I from ignorant, I've always done this: added "t" to char. :facepalm:
THX MRTOOLZ & PAC MAN sameeee............. u know i am trying 2 learn so i do not have 2 keep asking help & maybe i could help others 2 make nmc when i understand better........... i jus wanna give back 2 here cos i learn lots from u guys............ & pacois u always make such nice edits now u coding is becoming fantastic!!!! always exciting 2 see your posts

CHECK IT OUT this i am use ur edit pacois PLUS SAL CHANNEL & i like u edit packy bcos now is like more open style pivots & not too bounded........................ lovely
macd-pivots-pacois-sal-channels.png


Attachments 10
  1. Similar Topics

    1. Fractals Pivots setup by Vere

      5 Replies 1540 Views

      by Antonio, Sun Nov 24, 2019 1:49 am in MT4 Indicators

      5 Replies
      1540 Views
    2. MACD Blaster PRO

      3 Replies 2917 Views

      by wayne6881, Wed Jan 08, 2020 9:00 pm in Trading Systems

      3 Replies
      2917 Views

Return to “Coding Help”