![]() |
New indicators Chandes Momentum and Williams %R oscillators for QC - Printable Version +- QChartist Forum (https://www.qchartist.net/forum) +-- Forum: QChartist (https://www.qchartist.net/forum/forumdisplay.php?fid=1) +--- Forum: Extending QChartist (https://www.qchartist.net/forum/forumdisplay.php?fid=4) +--- Thread: New indicators Chandes Momentum and Williams %R oscillators for QC (/showthread.php?tid=5) |
New indicators Chandes Momentum and Williams %R oscillators for QC - qchartist - 10-17-2024 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 ![]() 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 |