[ARCHIVE!] Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Can't go anywhere without you - 4. - page 599

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
double min=Low[iLowest(NULL,PERIOD_M15,MODE_LOW,32,0)];
Good afternoon please advise
How do I record 1.30320 for EURUSD for example?Here is the trading function that opens positions:
All clear and concise. Error 130 keeps popping up in the tester, although the Expert Advisor works, but error 130 keeps popping up. What is the reason for that?
This function uses position opening functions, here they are:
I thought it had something to do with stop level, I added check, but it's not the same. I removed it for now as on Alpari this level is 0. Please hint what needs to be corrected to avoid this error.
I think it's all about the GetPriceToInput() function.
double min=Low[iLowest(NULL,PERIOD_M15,MODE_LOW,32,0)];
NormalizeDouble(...,Digits)
double max=NormalizeDouble(max,Digits); // convert to T/P
Ticket=OrderSend (Symbol(), OP_BUY, lot, Ask, 3,0, max, "Buy");
Please advise what is the error ? does not want to create take profit
I think I understand that ihighest gives only the index, but how do I find the highest price?
double max=NormalizeDouble(max,Digits); // convert to T/P
Ticket=OrderSend (Symbol(), OP_BUY, lot, Ask, 3,0, max, "Buy");
Please advise what is the error ? does not want to create take profit
I think I have understood that ihighest gives only the index, but how to find the highest price?
High[i]
If priceHigh of zero bar is the highest of 32 last ones (price goes up), take profit value may be <= current price.
High[i].
I don't understand ) please explain
double max=NormalizeDouble(max,Digits); // convert to T/P
Ticket=OrderSend (Symbol(), OP_BUY, lot, Ask, 3,0, max, "Buy");
Please advise what is the error ? does not want to create take profit
I think I understood that ihighest gives only index, but how to find the highest price?
This is a complete mess. Right:
I don't understand ) Please explain
Prices high for the current chart are stored in an array -- timeseries High[]
It's a complete mess. Right:
It doesn't work ( still no T/P output
Good afternoon all, I am interested in such a question, how can I work with ticks, starting from some event, for example, compare the value of the first tick after some event and the n-th, as I understand during the function start the price, for example, Bid all the time is overwritten, plus I can operate with the previous value, but how to operate with the pre-prime and so on, where and how it all written? Thank you for your attention)