[WARNING CLOSED!] Any newbie question, so as not to clutter up the forum. Professionals, don't go by. Can't go anywhere without you. - page 257
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
try saving the file in csv format and enter it into the terminal using the standard functions for reading csv files...
Can you tell me more about the standard functions and how to use them to draw lines?
Could you explain in details what these standard functions are and how you can draw lines with them?
to read from a file
FileReadNumber
FileReadString
to plot
ObjectCreate
ObjectSet
handle_read = FileOpen(Symbol()+"_result.txt",FILE_CSV,';');
ExtMap[1] = FileReadNumber(handle_read);
Newbie help. I am trying to load variable 0.0029266 from a file, but only 0.0029 is loaded. Can you tell me how to fix it. Below is a part of indicator text.
handle_read = FileOpen(Symbol()+"_result.txt",FILE_CSV,';');
ExtMap[1] = FileReadNumber(handle_read);
How do you know what you are downloading? What function did you use?
Question for Expert Advisors
How to write the data import from an indicator in an EA? I need a fast and a slow buffer.
Or write more info in the indicator
Please help.
Here is the code. In theory, the Expert Advisor should work with its own orders (to detect Magic), but if I ran multiple copies of the EA for different currency pairs, for some unknown reason, it starts opening a bunch of identical orders (and should open only 4). Already broke my head trying to figure it out
Please help.
Here is the code. In theory, the Expert Advisor should work with its own orders (to detect Magic), but if I ran multiple copies of the EA for different currency pairs, for some unknown reason, it starts opening a bunch of identical orders (and should open only 4). I have already wracked my brains trying to figure it out.
The problem is in your cycle of counting "your" orders. It can be corrected like this:
///count of "own" orders
for(cnt=0;cnt<OrdersTotal();cnt++)
{
if (OrderSelect( cnt, SELECT_BY_POS)==true)
{
if ( OrderSymbol() == Symbol() ) // this line is necessary if you will count the number of orders for the symbol
if(OrderMagicNumber()==Magic) { total=total+1;}
}
}
Question for experts
How to import data from the indicator to the Expert Advisor? I need a fast and slow buffers.
Or you have to add them in the indicator
Long live help!
Hi all.I have MT4 (mini) Demo, advise advisor on stoch (5.3.3): when the stop. dipping and crossing the level of 20-closed order on the SAL, and when the reversal-open on the BAI also on 20, so also on top. somewhere so, this is a rough explanation, and how better to tell YOU.thank you.