10-17-2024, 10:09 AM
I find these 2 oscillators Chandes Momentum and Williams %R interesting that's why i ported them.
Will add these indicators in the official release later.
For the moment you can download the indicators attached in the post
oscillators.zip (Size: 5.22 KB / Downloads: 0)
and copy/paste them in the indicators folder, also
add in includes/cppincludes.cpp
// ''RQEXPORT function williams_percent_r(periodstr,curtfstr)
#include "indicators\williams_percent_r.cpp"
// ''RQEXPORT function chandes_mom(periodstr,curtfstr)
#include "indicators\chandes_mom.cpp"
(before the line #include "includes\getbufferdata.cpp")
and
add in includes/getbufferdata.cpp
if (strcmp(buffernamee,"williams_percent_rbuffer")==0) { sprintf(convbuf,"%f",williams_percent_rbuffer[atoi(offsett)]);return convbuf; }
if (strcmp(buffernamee,"chandes_mombuffer")==0) { sprintf(convbuf,"%f",chandes_mombuffer[atoi(offsett)]);return convbuf; }
recompile
enjoy
Will add these indicators in the official release later.
For the moment you can download the indicators attached in the post

and copy/paste them in the indicators folder, also
add in includes/cppincludes.cpp
// ''RQEXPORT function williams_percent_r(periodstr,curtfstr)
#include "indicators\williams_percent_r.cpp"
// ''RQEXPORT function chandes_mom(periodstr,curtfstr)
#include "indicators\chandes_mom.cpp"
(before the line #include "includes\getbufferdata.cpp")
and
add in includes/getbufferdata.cpp
if (strcmp(buffernamee,"williams_percent_rbuffer")==0) { sprintf(convbuf,"%f",williams_percent_rbuffer[atoi(offsett)]);return convbuf; }
if (strcmp(buffernamee,"chandes_mombuffer")==0) { sprintf(convbuf,"%f",chandes_mombuffer[atoi(offsett)]);return convbuf; }
recompile
enjoy