Indicators Used
Relative strength index
Miscellaneous
It issuies visual alerts to the screen
0 Views
0 Downloads
0 Favorites
RSI CROSS1
/*-----------------------------+
|			       |
| Shared by www.Aptrafx.com    |
|			       |
+------------------------------*/

//+------------------------------------------------------------------+
//|                                                    RSI CROSS.mq4 |
//|                                                            Jacob Y |
//|                                                                  |
//+------------------------------------------------------------------+
//---- input parameters

double RSICURR,RSIPREV;
//+------------------------------------------------------------------+
//| expert initialization function |
//+------------------------------------------------------------------+
int start()
{
RSICURR=iRSI(NULL,0,14,PRICE_CLOSE,0);
RSIPREV=iRSI(NULL,0,14,PRICE_CLOSE,1);

if (RSICURR>RSIPREV && RSICURR>70)
{

{Alert(" CrossUP",Symbol());
}
if (RSIPREV>RSICURR && RSICURR<30)
{

{Alert("CrossDOWN",Symbol());
}

   }
  }
 }
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 ---