VR---SREDNIE--PAR

Miscellaneous
It issuies visual alerts to the screen
0 Views
0 Downloads
0 Favorites
VR---SREDNIE--PAR

extern bool   COMMENT         = true          ;
extern int    time            = 1             ; 
//=============================================
extern string PARA1           = ""            ;
extern int    time1           = 15            ;     
extern int    MA1_period      = 3             ; 
extern int    MA1_type        = 1             ;
extern int    MA1_price       = 0             ;          
extern int    MA1_shift       = 0             ; 
//=============================================
extern int    time2           = 15            ;           
extern int    MA2_period      = 7             ; 
extern int    MA2_type        = 1             ;
extern int    MA2_price       = 1             ;          
extern int    MA2_shift       = 0             ;
//=============================================
extern string PARA2           = ""            ;
extern int    time3           = 15            ;           
extern int    MA3_period      = 3             ; 
extern int    MA3_type        = 1             ;
extern int    MA3_price       = 0             ;          
extern int    MA3_shift       = 0             ;
//=============================================
extern int    time4           = 15            ;
extern int    MA4_period      = 7             ; 
extern int    MA4_type        = 1             ;
extern int    MA4_price       = 0             ;          
extern int    MA4_shift       = 0             ;
//=============================================
extern string PARA3           = ""            ;
extern int    time5           = 15            ;
extern int    MA5_period      = 3             ; 
extern int    MA5_type        = 1             ;
extern int    MA5_price       = 0             ;          
extern int    MA5_shift       = 0             ;
//=============================================
extern int    time6           = 15            ;
extern int    MA6_period      = 7             ; 
extern int    MA6_type        = 1             ;
extern int    MA6_price       = 0             ;          
extern int    MA6_shift       = 0             ;
//=============================================
extern string PARA4           = ""            ;
extern int    time7           = 15            ;
extern int    MA7_period      = 3             ; 
extern int    MA7_type        = 1             ;
extern int    MA7_price       = 0             ;          
extern int    MA7_shift       = 0             ;
//=============================================
extern int    time8           = 15            ;
extern int    MA8_period      = 7             ; 
extern int    MA8_type        = 1             ;
extern int    MA8_price       = 0             ;          
extern int    MA8_shift       = 0             ;
extern string ÄËß_ÁËÀÃÎÄÀÐÍÎÑÒÅÉ= "R165601147668"    ;
extern string ÇÀÊÀÇÀÒÜ  = "ÀÑÜÊÀ ÄËß ÑÂßÇÈ 155553959";
//====================================================
//=============================================
int start ()                                  {
//=============================================
double gbpusdu = iMA (PARA1,time1,MA1_period,MA1_shift,MA1_type,MA1_price,0);//ÁËÎÊ1
double gbpusd  = iMA (PARA1,time2,MA2_period,MA2_shift,MA2_type,MA2_price,0);//
//=============================================
double goldu   = iMA (PARA2,time3,MA3_period,MA3_shift,MA3_type,MA3_price,0);//ÁËÎÊ2
double dold    = iMA (PARA2,time4,MA4_period,MA4_shift,MA4_type,MA4_price,0);//
//=============================================
double audusdu = iMA (PARA3,time5,MA5_period,MA5_shift,MA5_type,MA5_price,0);//ÁËÎÊ3
double audusd  = iMA (PARA3,time6,MA6_period,MA6_shift,MA6_type,MA6_price,0);//
//=============================================
double nzdusdu = iMA (PARA4,time7,MA7_period,MA7_shift,MA7_type,MA7_price,0);//ÁËÎÊ4
double nzdusd  = iMA (PARA4,time8,MA8_period,MA8_shift,MA8_type,MA8_price,0);//
//=============================================
time=time*60000;
//=================================================================================
//=================================================================================
if (COMMENT==true)
{
  if (gbpusdu>gbpusd&&goldu>dold&&audusdu>audusd&&nzdusdu>nzdusd)
  {
  Alert("ÂÍÈÌÀÍÈÅ==M"+Period(),"=ÏÀÐÛ ÄÂÈÆÓÒÑß ÑÈÍÕÐÎÍÍÎ ÂÂÅÐÕ");
  Sleep(time);
  }
  if (gbpusdu<gbpusd&&goldu<dold&&audusdu<audusd&&nzdusdu<nzdusd)
  {
  Alert("ÂÍÈÌÀÍÈÅ==M"+Period(),"=ÏÀÐÛ ÄÂÈÆÓÒÑß ÑÈÍÕÐÎÍÍÎ Â ÍÈÇ");
  Sleep(time);
  }
}
//=================================================================================
//=================================================================================






return(0);}

Comments

Markdown supported. Formatting help

Markdown Formatting Guide

Element Markdown Syntax
Heading # H1
## H2
### H3
Bold **bold text**
Italic *italicized text*
Link [title](https://www.example.com)
Image ![alt text](image.jpg)
Code `code`
Code Block ```
code block
```
Quote > blockquote
Unordered List - Item 1
- Item 2
Ordered List 1. First item
2. Second item
Horizontal Rule ---