Forum

how to swap elements in an array around, especially initializing an empty array with given length?

Hey, my basic goal is to calculate stuff around linear regression . I get the how and the formulas for it, that's not the problem. the thing is: I am looking at the closing prices with commands like Close[i], index being i. closing prices are basically stored in an array, however they are put in

Strategy Tester just doesnt use updated EA, despite me changing code, saving, re-compiling, etc.?

Hey, I am very new to this whole EA programming. so sorry if I did something wrong. Thing is that for test purposes I created an expert advisor that does some trading based on certain conditions (something around higher highs and stuff) thing is I did the strategy test with the initial parameters (I