Forum

Comment Fix

Good morning I have a feeling there is a simple fix to the solution and I risk looking super dumb. But here goes... The code below compiles fine, however I cannot get the RichterScale calculation to post the needed calculation in MetaTrader. int MaxVolumePos; long MaxVolumeVal; int MinVolumePos;

Back testing code not producing any figures

I have recently coded a convergence/ divergence Algo that is pulling variable data from different timeframes for potential trade analysis. The compiled code produces no errors and runs in the Strategy tester , however nothing is returned in terms of print outs and orders. Can someone tell me where I

Zero divide Error - even after declaring fix

Hi I have a Zero Divide Error popping up in 2 areas of my code base, the just of the calculation is to calculate gradient. The differences between the Run (x axis, int bar position) is calculated and when that difference is 0, the algorithm automatically changes the variable to 1. However I am still

Stochastic EA MK1 -errors (RoboTrader)

I am trying to create my first EA using the stochastic strategy, though I am having trouble solving these last three flags. Generally when I get errors like this it means the function has not been appropriately used. I would greatly appreciate insight and assistance on the matter. RoboTrader