Forum

Assigning Bid and Ask to an array

Hi guys, I'm having trouble assigning Bid or Ask price into an array. When I try to assign it to my array nothing happens, when debugging it just simply stops without any Err. ?? float _Ask[]; float _Bid[]; for (i= 0 ; i>= 0 ;i--) { _Ask[i]=Ask; _Bid[i]=Bid; }

Array empty value

Hi There, I am having an issue with arrays. I’m using this code as a part of my program PreviousUpTick = CurrentUpTick; CurrentUpTick = Ask; PreviousDnTick = CurrentDnTick; CurrentDnTick = Ask; if (CurrentUpTick < PreviousUpTick ) DnTick[ 0 ]++; if (CurrentDnTick >