Indicators Used
Miscellaneous
0
Views
0
Downloads
0
Favorites
Waddah Attar Reverse RSI
#property copyright "Waddah Attar"
#property link "waddahattar@hotmail.com"
//----
#property indicator_separate_window
#property indicator_buffers 1
#property indicator_color1 DarkOrange
#property indicator_maximum 100
#property indicator_minimum 0
#property indicator_level1 30
#property indicator_level2 70
#property indicator_level3 50
extern int RSIPeriod=14;
extern int RSIPrice=0;
//----
double Idx1[];
int init()
{
SetIndexStyle(0, DRAW_LINE, 0, 1);
SetIndexBuffer(0, Idx1);
return(0);
}
//+------------------------------------------------------------------+
//| |
//+------------------------------------------------------------------+
void start()
{
for(int i = 0; i <= Bars; i++)
{
Idx1[i]=(100-iRSI(NULL,0,RSIPeriod,RSIPrice,i));
}
}
Comments
Markdown Formatting Guide
# H1
## H2
### H3
**bold text**
*italicized text*
[title](https://www.example.com)

`code`
```
code block
```
> blockquote
- Item 1
- Item 2
1. First item
2. Second item
---