Forum

Help, about basic variable question.

Hi, I have a basic question. if (a==b) { my_price == ask; } // ask variable was defined earlier and it gives instant ask value of parity. if (c==d) { trade.Buy(......,my_price......); } // I want to use my_price variable in this if fucntion. But of course I cant use

Help - about variables

Hi, I have a basic problem with variables. I have a variable named "x". The value of this variable (for example depending on the price of the eur-usd parity) is constantly changing. My goal is trading when certain conditions are met. The "price" variable that I will trade will be the value of my "x"