rvalb / Publications
Forum
Precision of MACD in EAs
Hi: I am trying to use MACD and OsMA indicators in my EAs but I find that they lack the same precision they show on the screen. When I use MACD or OsMA indicators on the screen and put the mouse pointer over a bar, they show some seven or eight decimal digits, and sometimes, differences between bars
Comment() not refreshing ?
Hello all: I am using Comment() function to display a text on screen, but it seems to me that it only works the first time. My code (resumed) goes like this // Start Comment ( "Text 1"); if ( a == 1) { Print(" a = 1 "); Comment( " a = 1"); } // End ... and for some reason, when a = 1 the Print
Confused about Strategy Tester results
Hello: I am testing a new EA and I am confused about how to interpret the results I have got. I am testing two different SL and TP figures for the same EA on the same chart and the same date period; my results are: Test A: Total net profit = 100,30 . Profit factor = 1,43 . Expected payoff = 2,64
Going crazy with two lines of code
Hello: I would like to ask for some help with a problem I have; I really can't figure out what is wrong with this code. I declare some variables, make a division with them and then, depending on the result, I want to perform some actions. When I run the code I can see by the Print() statement that