+
1 9 9

: SendNotification(). . ?

  1. #1

    18.06.2013
    3
    ()
    0
    0 () 0

    SendNotification(). . ?

    , !

    , . , . .

    . , . , . ? . ! !!!

  2. #2
    ClusterDelta.com Team
    27.10.2011
    3,737
    ()
    431
    2,068 () 1,048
    bajkot
    , !

    , . , . .

    . , . , . ? . ! !!!
    :
     
    int PlayAlert(string filename)
    {
      if(AlertNumbers == 0) 
      { 
         ObjectDelete("PremiumVolumeLine_AlertP"+"_"+indicator_id); 
      }
    
      
      if(AlertNumbers>0 && AlertPlayNext<TimeLocal())
      {
        SendNotification( Symbol() + ": Alert on Volume !" );
        PlaySound(filename+".wav");
        AlertPlayNext = TimeLocal()+AlertInterval;
        AlertNumbers--;
    _Alert (Volume Delta)
    , .

  3. #3

    01.11.2015
    24
    ()
    19
    1 1
    , .

    , . -, .
    . .


    //+------------------------------------------------------------------+
    int PlayAlert(string filename)
    {
    if(AlertNumbers == 0)
    {
    ObjectDelete(0,"PremiumVolumeLine_AlertP"+"_"+indi cator_id);
    }


    if(AlertNumbers>0 && AlertPlayNext<TimeLocal())
    {
    SendNotification( Symbol() + ": Alert on Delta !" );
    PlaySound(filename+".wav");
    AlertPlayNext = TimeLocal()+AlertInterval;
    AlertNumbers--;



    ObjectCreate(0,"DeltaLine_AlertP"+"_"+indicator_id , OBJ_LABEL, ChartWindowFind(), 0, 0);
    ObjectSetInteger(0,"DeltaLine_AlertP"+"_"+indicato r_id, OBJPROP_CORNER, 3);
    ObjectSetInteger(0,"DeltaLine_AlertP"+"_"+indicato r_id, OBJPROP_XDISTANCE, 10+(int)16*Font_Size*1.65);
    ObjectSetInteger(0,"DeltaLine_AlertP"+"_"+indicato r_id, OBJPROP_YDISTANCE, 24);
    ObjectSetString(0,"DeltaLine_AlertP"+"_"+indicator _id,OBJPROP_TEXT,"ALERT IS PLAYING");
    SendNotification ("DeltA");
    ObjectSetInteger(0,"DeltaLine_AlertP"+"_"+indicato r_id, OBJPROP_FONTSIZE ,Font_Size);
    ObjectSetInteger(0,"DeltaLine_AlertP"+"_"+indicato r_id, OBJPROP_COLOR,ShowDelta_Color);

    if(AlertNumbers<=0) { play_alert=false; ObjectDelete(0,"DeltaLine_AlertP"+"_"+indicator_id );}

    }
    return 0;
    }

  4. #4
    ClusterDelta.com Team
    27.10.2011
    3,737
    ()
    431
    2,068 () 1,048
    AndrewFalse
    , .

    , . -, .
    . .
    ?

  5. #5

    01.11.2015
    24
    ()
    19
    1 1
    , .

  6. #6
    ClusterDelta.com Team
    27.10.2011
    3,737
    ()
    431
    2,068 () 1,048
    AndrewFalse
    , .
    .

  7. #7

    01.11.2015
    24
    ()
    19
    1 1
    ?

  8. #8

    24.12.2019
    1
    ()
    0
    0 () 0
    ,

  9. #9
    ClusterDelta.com Team
    27.10.2011
    3,737
    ()
    431
    2,068 () 1,048

+

     

 

ClusterDelta.com - . : , , , http://clusterdelta.com http://forum.clusterdelta.com , , , .


, , . , , , .


(C) 2009-2012 ClusterDelta.com. .

 

@Mail.ru