FBOLST / Publications
Forum
ArraySize Function returns falls value
I expected that ArraySize returns 6, but it returns 0! Why? void OnStart () { int myArray[ 3 ][ 2 ] = {{ 10 , 20 }, { 30 , 40 }, { 50 , 60 }}; PrintArray(myArray); } void PrintArray( int &inputArray[][]) { int arraySize = ArraySize (inputArray); Alert (arraySize); }
Issues with ZigZag Indicator of MT4
I use the built-in ZigZag indicatior of MT4 with settings shown in the image attached. Although 'depth' is set to 4, but the indicator draws two minima with only one bar in between. Isn't it a bug? I thought if depth is set to 4, the indicator should draw a minimum with at least 4 candles between
Issues with margin calculation with 1:1 leverage
In MT4, I buy one Ethereum for $1827.02 at leverage 1:1. My margin (as shown in the attached sceenshot) calculated by MT4 is half of the price ($913.51). Shouldn't the margin be exactly as much as the price (as I am using 1:1 leverage), instead of half of the price