[ARCHIVE] Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 3. - page 606

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
Good afternoon. I want to connect my .dll to a script. Tried to test this example:
It works, a window pops up. Wrote my dll:
Tested it through connections to a regular program on the pros, it works, everything is fine. But when I try to connect it to a script, nothing happens, it doesn't even ask if I want to connect to my dll. Apparently it doesn't understand this export. So my question is: what kind of export does it understand? From Visual C++? Or maybe I did something wrong and some special export with diamonds is needed?
There was a problem with deleting "old" lines from the history. What is wrong and what should I pay attention to?
In the version below, it worked. But not quite. The upper lines are deleted as new ones appear, the lower lines are deleted immediately. Why?
Here we have an additional question why the function did not work as it should without adding
OBJ_TREND because it doesn't seem to make any fundamental changes in this case?
Then I ran some experiments with line names in the main code.
TimeToStr(Time[i]) was specified in a variable in the main code.
Question. Why did the second variant not work (meaning that the function
dellline(), when applied to the second variant, did not remove lines with names assigned to
to up_line and down_line variables?
И last question I'm going to duplicate it from a previous post, it's on the screenshot. The answer to it can be found
could not.
Thank you!
Thank you, I tried it with the condition:
It still gives an error.
Try it like this
if( SummBullLots() >0){double BullAveragePrice = NormalizeDouble(BullSummOpenPrice()/SummBullLots(),Digits);}
Could you please tell me if there is an indicator that displays the number of open positions at a given time? Even better, if it shows how many of them are BAY and how many are SELL.
Good afternoon. I want to connect my .dll to a script. Tried to test this example:
It works, a window pops up. I have written my dll:
I checked it by connecting to regular program on plusses, everything works, all is well. But when I try to connect it to a script, nothing happens, it doesn't even ask if I want to connect to my dll. Apparently it doesn't understand this export. So my question is: what kind of export does it understand? From Visual C++? Or maybe I did something wrong and some special export with diamonds is needed?
In MT4 folder there is a sample code of C++ for all cases in MQL4. Compile that code and paste your own code in it. You will immediately see the difference between yours and the example.
I took an example from the MQL editor's handbook and slightly modified it to suit my needs
As a result, the file OrdersReport.csv is empty, although the orders are opened.
I want to record EA's actions in a file
I took an example from the MQL editor's handbook, slightly remade it for my own needs
As a result, the file OrdersReport.csv is empty, although the orders are opened.
Try it this way:
Could not.
Thank you!
Roman, I can only give you one piece of advice: go to the DC website and look for their history.