0
Views
0
Downloads
0
Favorites
paral
//+------------------------------------------------------------------+
//| Paral.mq4 |
//+------------------------------------------------------------------+
#property copyright "© Maloma"
#property indicator_chart_window
//---- input parameters
extern int LPeriod=13;
extern int nBars=300;
int CBars=0;
//+------------------------------------------------------------------+
int start()
{
if (CBars!=Bars)
for (int i=0;i<=nBars;i++)
{
string CN=CurTime();
if (ObjectCreate(CN,OBJ_TREND,0,iTime(Symbol(),0,LPeriod),Close[LPeriod],iTime(Symbol(),0,1),Close[1],0,0) !=0) Comment(GetLastError());
ObjectSet(CN, " My_prof_id",0);
}
CBars=Bars;
return(0);
}
//+------------------------------------------------------------------+
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
---