why isn't it plotting the formula?
could you place the all of the code?
nothing much besides windows.
it draws the line at right most of the window , I think you need to refine your formula
okay i made some adjustments. i created two buffers placed formula in extmapbuffer1, and the moving average on to extmapbuffer2. i see where the problem lies. its when i divide by the momentum, it results in a flat line. although this is very weird. since macd devided momentum shouldnt yield zero. im seeing if i have to use iMomentumOnArray method or not.....
double Formula = iMA(NULL,0,2,pos,MODE_SMA,preFormula,pos);
should be:
double Formula = iMA(NULL,0,2,0,MODE_SMA,preFormula,pos);
okay. that wasn't the problem. but i think something wrong with Volume or Momentum.
this Custom indicator supposed to be producing oscillating sine graphs, but i think the author which i found this from the book is scammer, since its not possible to be producing such graphs with high numbers such as Volume.
please refer to this link for full information.
http://www.forexfactory.com/showthread.php?p=1550118#post1550118
please help, and if all goes well, i can share you the rest of the goods :)