Value of Bid/Ask offline

 
Value of Bid/Ask offline

1. Historical data has only Open,High,Low,Close and Volume value for each bar. So, backtesting a stategy offline using historical data, what is the value used by the OrderSend function for the 4th parameter: Bid/Ask price?

2. How to display line numbers in MetaEditor?

3. Why we can't use MQ4 script offline? The script is loded but doesn't run !!!

Thanks.
 
1. Bid = current Close. Ask = Bid + spread
2. In no way. See status bar
3. Do not mix experts and scripts. You can use scripts and cannot use experts offline

Please read https://docs.mql4.com/ and https://www.mql5.com/en/articles/mt4
Reason: