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

 
artmedia70:
Do you need help to write these functions yourself or do you need them written for you and presented to you? First, we can help if you show us what you can't do in your own code, and second, we can write them for a fee...

Reward me :)
 

To get correct Pivot Points, you need a "correct" daily candle (GMT).

Sketched out the first thing that came to mind:

    if(Hour()==GMTplus && Minute()==0){    //где GMTplus - разница между GMT и серверным временем
       int Hi =iHighest(NULL,60,MODE_HIGH,24,1);
       int Lo =iLowest(NULL,60,MODE_LOW,24,1);
       HighDay=iHigh(NULL,60,Hi);
       LowDay=iLow(NULL,60,Lo);
       CloseDay= iClose(NULL,60,1); 
       OpenNewDay=iOpen(NULL,60,0);
     }

Surely someone has something more knowledgeable for this task.

Need help. Or critique this code.

 
DhP:

To get correct Pivot Points, you need a "correct" daily candle (GMT).

Sketched out the first thing that came to mind:

Surely someone has something more knowledgeable for this task.

Need help. Or critique this code.


A cycle needs to be made. The number of candles does not have to be 24, it can be less
 
Vinin:

The cycle has to be done. The number of candles doesn't have to be 24, it can be less

Yes. That's a fair point.

What about the cycle?

 
О! Maybe memorise the 24 candles into an array yourself?
 
Vinin:

Reward me :)
How about we split it, huh? :))))))
 
tym:

Hi all.

I usually trade only with pending orders, but the problem is that there is no point in sitting at the computer all day, and I want to know instantly if an order has opened or closed.

The question is this. We should write three lines:

1) if the order is opened (then we should send the SendMail command and get a notification message).

2) If the order is closed by a Stop, then...

3) If the order is closed by profit...

P.S. thanks in advance

I'm sick of posting the link http://www.kimiv.ru/index.php?option=com_remository&Itemid=13&func=fileinfo&id=36
 

Has anyone had problems logging into the forum?

 
Well, it's been down for a week or so.
 
chief2000:

Has anyone had problems logging into the forum?


Yes. Yes, they have.
Reason: