[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 310

 
KoDi писал(а) >>

Help me solve this problem - there is a buy/sell signal, EA opens a deal, sets a profit and a stop. And if the deal is closed on stop on the same candle, then the advisor opens the deal again, and I need it not to open, i.e. on one signal one deal was opened.

How to do it?

It should work like this.

if (Volume[0]>1) return;

 

We need some help! My head is already boiling! To the point:

I need to set pending sell limit and buy limit orders.

1. StopLoss = 30

2. takeProfit = 40

3. the pending orders are deleted after 3 hours (if they did not work).

I need a sell limit and buy limit code Please help!!!

 
advise indicators for 1m 15m pips
 
Egoist >> :

I need some help! My head is already boiling! To the point:

I need to set pending sell limit and buy limit orders.

1. StopLoss = 30

2. takeProfit = 40

3. the pending orders are deleted after 3 hours (if they did not work).

Need a sell limit and buy limit code Please help!!!

the pending order is placed in one line, the question is at what distance?

 

Hi all. Is there any way to programmatically set the value of a variable (e.g. StartBalance) equal to the value of AccountBalance() which was at the time the EA was turned on (so that this value does not change until the end of its operation)

Can you suggest how to do this?

 
Nail_Saby писал(а) >>

Hi all. Is there any way to programmatically set the value of a variable (e.g. StartBalance) equal to the value of AccountBalance() which was at the time the EA was turned on (so that this value does not change until the end of its operation)

Do you know how to do it?

double StartBalance;
int init(){
   StartBalance=AccountBalance();
   return(0);
}
More or less like this
 
Vinin >> :
>> about that.

>>Thank you!!!

 
Gaz590 >> :
suggest indicators for 1m 15m pips


Any suitable channel turkey.

For example, from the address - Channels ...!

 
Odin_Takoy >> :

This should work.

if (Volume[0]>1) return;


Do not use this method to open positions! It works correctly only in the tester!

And online, more than half of the input signals will be ignored...

 
Nail_Saby >> :

>> Thank you!!!


See the previous post above...