myCoverCondition = Close < openingPrice * 0.999;
anyone know how to write this as transaciton price open plus 1 dollar change instead of 1% change?
You can use any arithmetic operation in expressions:
myCoverCondition = Close < openingPrice + 1;
The opinions expressed in these forums do not represent those of C2, and any discussion of profit/loss is not indicative of future performance or success. There is a substantial risk of loss in trading. You should therefore carefully consider whether such trading is suitable for you in light of your financial condition. You should read, understand, and consider the Risk Disclosure Statement that is provided by your broker before you consider trading. Most people who trade lose money.
myCoverCondition = Close < openingPrice * 0.999;
anyone know how to write this as transaciton price open plus 1 dollar change instead of 1% change?
You can use any arithmetic operation in expressions:
myCoverCondition = Close < openingPrice + 1;