Forum

Problem with weighting factor on Pattern (Signal Module)

I have follow this article on custom signal module and weighting algorithms and I've discovered a great way to assemble custom EA. However I passed the all day trying to sort an issue I cannot understand and start having big headache. My EA have threshold for opening a position set to 80, one Signal

Wrong value in ADX Wilder array[0]

Hello, I use the ADX Wilder buffer in my EA and realize that value in the array for the current bar [0] is different from the value I see in the data window of Strategy Tester, for the same bar. Values [1] and [2] are correct. For example the Data Window shows : - ADX Wilder(14) = 46.70 (for bar

Declaration of boolean variable with conditions

Hello, this boolean always returns false (even when conditions are satisfy). Do you think I have to use if or is there a proper way to declare such expression ? (I have plenty of boolean). Thank you, bool Condition2=( Condition1== true && Indic[ 2 ]<Indic[ 1 ] && Indic[ 1