Forum

OP_BUYLIMIT Invalid Price Error

OP_BUYLIMIT Order placed at 1.09516 with Fill Price at 1.09264. Error says Fill Price is invalid but it looks correct to me. HELP. Thanks, Jim

OP_BUYLIMIT Error

I've issued an OrderSend as an OP_BUYLIMIT and received an Invalid Price error. The Ask Price and Entry Price: 1 .09516, The Fill Price: 1.09264. The SL Price: 1.08944, TP Price: 1.09644. These prices seem correct to me so I don't understand the error.. Thanks, Jim

OP_BUYLIMIT Fill question

In a bull market, if a pending order is placed with an OP_BUYLIMIT specified, the price is expected to retrace down to the fill level, then rise. Is the order filled if the price drops like a rock and goes past both the fill Price and past the stop loss? Does it also encounter a loss

Indicator within an EA

The indicators I see are only within an Indicator. Can you have an indicator within an EA and, if so, how do you set up the buffers? Also how does the EA code sense the indicator signals

Volume vs. Lot Size

I want to trade by a percentage of my account balance but the OrderSend command seems to expect Lot Size. What do I need to do to trade with a percentage of my Account Balance? Thanks, Jim Stow

In Strategy Tester, getting Requote Error 138. How do I fix or avoid this error?

Running my code in strategy tester and getting the Requote error 138 . Is there a way to avoid this or fix the code