Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 6. - page 508

 
Leo59:

Yesterday you could, but today you can't. This is strange.

If Alpari, it was never allowed. If another brokerage company, it depends on the account. But in any case, the programmer should provide for this. And the terms of trade should be studied before starting to do something, everything is written there.
 
evillive:

If Alpari, it has never been possible. If another brokerage company, it depends on the account. But in any case, the programmer has to provide for this. And the terms of trade should be studied before starting to do something, everything is written there.

....................................................................................................................
 
evillive:

And the first is always the first, on any TF. The offset is before it:


i.e. the closing price of the first flower of Monday of last week will be.

int shift_pn=iBarShift(NULL,15,iTime(NULL,PERIOD_W1,1));

double c=Close[iBarShift(NULL,15,iTime(NULL,PERIOD_W1,1))];

I thought I would use this example to understand last week's Friday close price on the same M15. I will need to go through all the prices from Monday of the first candle to Friday of the last candle

double cl=0;
for (int i=shift_pn; i<=shift_pt; i++)
   cl=cl+Close[i];

How to find

shift_pt =     //пятницы последняя свеча
 

Good afternoon! What platform should I install on my computer

Microsoft Windows XP Professional operating system

AMD Sempron 950 MHz (9.5 x 100) CPU type
Instruction sets x86, MMX, 3DNow!
ECS N2U400-A motherboard (5 PCI, 1 AGP, 3 DDR DIMM, Audio)
System memory [ TRIAL VERSION ]
DIMM1: Hexon HEXON 1GB PC3200 DDR SDRAM (3.0-4-4-8 @ 200MHz) (2.5-3-3-3-7 @ 166MHz) (2.0-3-3-6 @ 133MHz)
DIMM3: [ TRIAL VERSION ]
Award BIOS type (08/31/04)
 

Guys. Can you tell me what you need to enter. That would open a deal in the tester. Even if it's a hundred years old, it'll open.


int init()

{


return(0);

}

int deinit()

{


return(0);

}


int start()

{


return(0);

}

 
The editor doesn't have a metatrader, I would have copied it to you straight away. Look in it, I can't remember from memory.
 
evillive:

uncheck "Synchronise positions..."
But then it won't open positions at all, will it? Or am I wrong?
 

Good afternoon All. I have decided to write an Expert Advisor. Can you please tell me how to get the data from the "ProgressPolynominal" indicator in the example of the following signals:

1. Intersection from the top to the bottom

2. Downwards and upwards crossovers

3. both lines are moving downwards

4. both lines are moving upwards

5. Numerical distance between the lines

 
Artur116:
But then he won't open a position at all, will he? Or am I wrong?

Will ask for permission before opening.
 

Folks, suggest a robot. One that uses martin.

For example, I open an order and the robot keeps working...