Thanks, that helped. But I still get " ',' - unexpected token " compilation error.
Posts made by Aizen
-
RE: Two money managemeant rules in buy/sell blockposted in Questions & Answers
-
Two money managemeant rules in buy/sell blockposted in Questions & Answers
Hi, I wanted to add "Betting: martingale" and "% of balance => lots" option to same block. So, I tried to put custom variable to Initial volume field. But after compiling I get warning that initial volume has to be constant. My example https://fxdreema.com/shared/VQF8mmc9c
-
MagicStart or magic number value into order commentposted in Questions & Answers
If by any chance someone wants to insert magic number (MagicStart) to order comment section. Create variable MyComment (name optional) that equals to MagicStart (name exact). Then add that variable to comment section in buy/sell block. This function I wanted that I could see magic number instead long trade/short trade comment when I look myfxbook order history.
Correct me if I am wrong, but this method lets use internal variable values. -
RE: Repeat blocks until one gives trueposted in Questions & Answers
But drawing objects on chart would be efficient when back testing?
-
RE: Repeat blocks until one gives trueposted in Questions & Answers
After searching a bit I found "wait to pass" option and "set flags" as alternative. I tried to make it work with "set flags" https://fxdreema.com/shared/onl0NkfMb but it looks bulky. At first I tried "check flag" block set as "wait to pass" but i don't know if it is waiting for "true" outcome or else. And It does not change back-testing result if I remove it.
-
Repeat blocks until one gives trueposted in Questions & Answers
I try to make virtual order after crossover. With two formulas I calculate my TP and SL values. Then I want that two condition blocks would run until one gives true, one block for TP other for SL. For now I try to visualize it by printing label when TP or SL occurs to see if it is working correctly. How to make it work? link text