Daily open line
-
- Posts: 11
- Joined: Mon Feb 01, 2010 11:27 pm
Daily open line
Anyone have a simple daily open line indicator?
-
- Posts: 11
- Joined: Mon Feb 01, 2010 11:27 pm
-
- Posts: 1479
- Joined: Mon Apr 01, 2013 3:55 am
Hello,
You need to have minimum 2 hours difference between "From hour" and "To hour" seiings (for example "From hour"=0 and "To hour"=2) to see color fill of the indicator. And check "Timeframe" tab when adding new indicator to make sure that you add indicator on correct timeframes.
Also please note that Forex Tester draw blue dashed line when new day starts.
You need to have minimum 2 hours difference between "From hour" and "To hour" seiings (for example "From hour"=0 and "To hour"=2) to see color fill of the indicator. And check "Timeframe" tab when adding new indicator to make sure that you add indicator on correct timeframes.
Also please note that Forex Tester draw blue dashed line when new day starts.
-
- Posts: 11
- Joined: Mon Feb 01, 2010 11:27 pm
Finally found some Metatrader Code that gives a simple Daily Open line. It actually gives a second optional line that I can live with or without.
In this version:
There are two open lines- current open price from meta trader time zone, and additional for some custom. You can set euro and us session.
I would gladly pay someone to make this Forex Tester 2 useable. I would still like to be able to see the code to change colors, dashed to solid, and stuff like that. I have other Indicators I'd like coded as well, but would be happy with this one.
Input parameters (to shift open price):
DailyOpen = 0
EuroOpen = 8
Daily Open indicator displays the opening values of the day and the Europe session. However, you can adjust the parameters to display other sessions. By default, the blue line is the daily open and the green line is the Europe session open.
[php]</pre>
//+——————————————————————+
//| |
//+——————————————————————+
#property indicator_chart_window
#property indicator_buffers 2
#property indicator_color1 Yellow
#property indicator_color2 Lime
//—- input parameters
extern int DailyOpen=0;
extern int EuroOpen=8;
//—- buffers
double DailyOpenBuffer[];
double EuroOpenBuffer[];
//—- variables
int indexbegin = 0;
double dailyopen = 0,euroopen=0;
//+——————————————————————+
//| Custom indicator initialization function |
//+——————————————————————+
int init()
{
//—- indicators
SetIndexStyle(0, DRAW_LINE, STYLE_DASH);
SetIndexBuffer(0, DailyOpenBuffer);
SetIndexLabel(0, "Daily Open");
SetIndexEmptyValue(0, 0.0);
SetIndexStyle(1, DRAW_LINE, STYLE_DASH);
SetIndexBuffer(1, EuroOpenBuffer);
SetIndexLabel(1, "Euro Open");
SetIndexEmptyValue(1, 0.0);
//—-
indexbegin = Bars – 20;
if (indexbegin < 0)
indexbegin = 0;
return(0);
}
//+——————————————————————+
//| Custor indicator deinitialization function |
//+——————————————————————+
int deinit()
{
//—- TODO: add your code here
//—-
return(0);
}
//+——————————————————————+
//| Custom indicator iteration function |
//+——————————————————————+
int start()
{
int i;
int counted_bars = IndicatorCounted();
//—- check for possible errors
if (counted_bars < 0) counted_bars = 0;
//—- last counted bar will be recounted
if (counted_bars > 0) counted_bars–;
if (counted_bars > indexbegin) counted_bars = indexbegin;
for (i = indexbegin-counted_bars; i >= 0; i–)
{
if ((TimeMinute(Time[i]) == 0) && (TimeHour(Time[i]) – DailyOpen == 0))
dailyopen = Open[i];
DailyOpenBuffer[i] = dailyopen;
if ((TimeMinute(Time[i]) == 0) && (TimeHour(Time[i]) – EuroOpen == 0))
euroopen = Open[i];
EuroOpenBuffer[i] = euroopen;
}
return(0);
}
//+——————————————————————+
<pre>[/php]
In this version:
There are two open lines- current open price from meta trader time zone, and additional for some custom. You can set euro and us session.
I would gladly pay someone to make this Forex Tester 2 useable. I would still like to be able to see the code to change colors, dashed to solid, and stuff like that. I have other Indicators I'd like coded as well, but would be happy with this one.
Input parameters (to shift open price):
DailyOpen = 0
EuroOpen = 8
Daily Open indicator displays the opening values of the day and the Europe session. However, you can adjust the parameters to display other sessions. By default, the blue line is the daily open and the green line is the Europe session open.
[php]</pre>
//+——————————————————————+
//| |
//+——————————————————————+
#property indicator_chart_window
#property indicator_buffers 2
#property indicator_color1 Yellow
#property indicator_color2 Lime
//—- input parameters
extern int DailyOpen=0;
extern int EuroOpen=8;
//—- buffers
double DailyOpenBuffer[];
double EuroOpenBuffer[];
//—- variables
int indexbegin = 0;
double dailyopen = 0,euroopen=0;
//+——————————————————————+
//| Custom indicator initialization function |
//+——————————————————————+
int init()
{
//—- indicators
SetIndexStyle(0, DRAW_LINE, STYLE_DASH);
SetIndexBuffer(0, DailyOpenBuffer);
SetIndexLabel(0, "Daily Open");
SetIndexEmptyValue(0, 0.0);
SetIndexStyle(1, DRAW_LINE, STYLE_DASH);
SetIndexBuffer(1, EuroOpenBuffer);
SetIndexLabel(1, "Euro Open");
SetIndexEmptyValue(1, 0.0);
//—-
indexbegin = Bars – 20;
if (indexbegin < 0)
indexbegin = 0;
return(0);
}
//+——————————————————————+
//| Custor indicator deinitialization function |
//+——————————————————————+
int deinit()
{
//—- TODO: add your code here
//—-
return(0);
}
//+——————————————————————+
//| Custom indicator iteration function |
//+——————————————————————+
int start()
{
int i;
int counted_bars = IndicatorCounted();
//—- check for possible errors
if (counted_bars < 0) counted_bars = 0;
//—- last counted bar will be recounted
if (counted_bars > 0) counted_bars–;
if (counted_bars > indexbegin) counted_bars = indexbegin;
for (i = indexbegin-counted_bars; i >= 0; i–)
{
if ((TimeMinute(Time[i]) == 0) && (TimeHour(Time[i]) – DailyOpen == 0))
dailyopen = Open[i];
DailyOpenBuffer[i] = dailyopen;
if ((TimeMinute(Time[i]) == 0) && (TimeHour(Time[i]) – EuroOpen == 0))
euroopen = Open[i];
EuroOpenBuffer[i] = euroopen;
}
return(0);
}
//+——————————————————————+
<pre>[/php]
-
- Posts: 2
- Joined: Mon Mar 04, 2013 9:37 pm
-
- Posts: 11
- Joined: Mon Feb 01, 2010 11:27 pm
Actually I was offered to pay $20 for the above pasted code to a DLL. I have since then sent them another code which is the $50 fee. New code below. I have other indicators that I need converted as well. Just trying to figure out exactly which indicators I need the most since about $50 a pop can add up fast.
#property indicator_chart_window
#property indicator_buffers 8
#property indicator_color1 C'43,36,0'
#property indicator_color2 C'43,36,0'
#property indicator_color3 C'0,18,36'
#property indicator_color4 C'0,18,36'
#property indicator_color5 C'49,14,0'
#property indicator_color6 C'37,1,10'
#property indicator_color7 OrangeRed
#property indicator_color8 DeepSkyBlue
extern double TimeShiftMins = 60.0;
extern bool show_target_lines = true;
extern string Moving_DecPoint_by_1_place = "change 10 to 1 or 100";
extern int DecPoint = 10;
extern int Target1 = 50;
extern int Target2 = 100;
extern int Target3 = 150;
double hlobd_112;
double hlobda_120[];
double hlobda_124[];
double hlobda_128[];
double hlobda_132[];
double hlobda_136[];
double hlobda_140[];
double hlobda_144[];
double hlobda_148[];
double hlobd_152;
double hlobd_160;
double hlobd_168;
double hlobd_176;
int hlobi_184;
int hlobi_188;
int hlobi_192 = 2;
int hlobi_196 = MODE_SMMA;
int hlobi_200 = PRICE_WEIGHTED;
int hlobi_204;
// 90F1A326765E5CD9B925234B762D453D
int f0_0(int hargi_0) {
if (hargi_0 == 1) return (1);
if (hargi_0 == 2) return (5);
if (hargi_0 == 3) return (15);
if (hargi_0 == 4) return (30);
if (hargi_0 == 5) return (60);
if (hargi_0 == 6) return (240);
if (hargi_0 == 7) return (1440);
if (hargi_0 == return (10080);
if (hargi_0 == 9) return (43200);
return (43200);
}
// E37F0136AA3FFAF149B351F6A4C948E9
int init() {
hlobd_152 = Point * DecPoint * Target1;
hlobd_160 = Point * DecPoint * Target2;
hlobd_168 = Point * DecPoint * Target3;
hlobi_204 = iTime(NULL, PERIOD_D1, 0);
if (TimeShiftMins != 0.0) hlobi_204 += 60.0 * TimeShiftMins;
IndicatorBuffers(8);
IndicatorDigits(Digits);
SetIndexBuffer(0, hlobda_128);
SetIndexStyle(0, DRAW_NONE);
SetIndexBuffer(1, hlobda_132);
SetIndexStyle(1, DRAW_NONE);
SetIndexBuffer(2, hlobda_136);
SetIndexStyle(2, DRAW_NONE);
SetIndexBuffer(3, hlobda_140);
SetIndexStyle(3, DRAW_NONE);
SetIndexBuffer(4, hlobda_144);
SetIndexStyle(4, DRAW_NONE);
SetIndexBuffer(5, hlobda_148);
SetIndexStyle(5, DRAW_NONE);
SetIndexBuffer(6, hlobda_120);
SetIndexStyle(6, DRAW_LINE);
SetIndexBuffer(7, hlobda_124);
SetIndexStyle(7, DRAW_LINE);
if (show_target_lines) {
SetIndexBuffer(0, hlobda_128);
SetIndexStyle(0, DRAW_LINE);
SetIndexBuffer(1, hlobda_132);
SetIndexStyle(1, DRAW_LINE);
SetIndexBuffer(2, hlobda_136);
SetIndexStyle(2, DRAW_LINE);
SetIndexBuffer(3, hlobda_140);
SetIndexStyle(3, DRAW_LINE);
SetIndexBuffer(4, hlobda_144);
SetIndexStyle(4, DRAW_LINE);
SetIndexBuffer(5, hlobda_148);
SetIndexStyle(5, DRAW_LINE);
SetIndexBuffer(6, hlobda_120);
SetIndexStyle(6, DRAW_LINE);
SetIndexBuffer(7, hlobda_124);
SetIndexStyle(7, DRAW_LINE);
}
switch (Period()) {
case PERIOD_M1:
hlobi_188 = 7;
break;
case PERIOD_M5:
hlobi_188 = 7;
break;
case PERIOD_M15:
hlobi_188 = 7;
break;
case PERIOD_M30:
hlobi_188 = 7;
break;
case PERIOD_H1:
hlobi_188 = 7;
break;
case PERIOD_H4:
hlobi_188 = 8;
SetIndexBuffer(0, hlobda_128);
SetIndexStyle(0, DRAW_NONE);
SetIndexBuffer(1, hlobda_132);
SetIndexStyle(1, DRAW_NONE);
SetIndexBuffer(2, hlobda_136);
SetIndexStyle(2, DRAW_NONE);
SetIndexBuffer(3, hlobda_140);
SetIndexStyle(3, DRAW_NONE);
SetIndexBuffer(4, hlobda_144);
SetIndexStyle(4, DRAW_NONE);
SetIndexBuffer(5, hlobda_148);
SetIndexStyle(5, DRAW_NONE);
SetIndexBuffer(6, hlobda_120);
SetIndexStyle(6, DRAW_LINE);
SetIndexBuffer(7, hlobda_124);
SetIndexStyle(7, DRAW_LINE);
break;
case PERIOD_D1:
hlobi_188 = 9;
SetIndexBuffer(0, hlobda_128);
SetIndexStyle(0, DRAW_NONE);
SetIndexBuffer(1, hlobda_132);
SetIndexStyle(1, DRAW_NONE);
SetIndexBuffer(2, hlobda_136);
SetIndexStyle(2, DRAW_NONE);
SetIndexBuffer(3, hlobda_140);
SetIndexStyle(3, DRAW_NONE);
SetIndexBuffer(4, hlobda_144);
SetIndexStyle(4, DRAW_NONE);
SetIndexBuffer(5, hlobda_148);
SetIndexStyle(5, DRAW_NONE);
SetIndexBuffer(6, hlobda_120);
SetIndexStyle(6, DRAW_LINE);
SetIndexBuffer(7, hlobda_124);
SetIndexStyle(7, DRAW_LINE);
break;
case PERIOD_W1:
hlobi_188 = 9;
SetIndexBuffer(0, hlobda_128);
SetIndexStyle(0, DRAW_NONE);
SetIndexBuffer(1, hlobda_132);
SetIndexStyle(1, DRAW_NONE);
SetIndexBuffer(2, hlobda_136);
SetIndexStyle(2, DRAW_NONE);
SetIndexBuffer(3, hlobda_140);
SetIndexStyle(3, DRAW_NONE);
SetIndexBuffer(4, hlobda_144);
SetIndexStyle(4, DRAW_NONE);
SetIndexBuffer(5, hlobda_148);
SetIndexStyle(5, DRAW_NONE);
SetIndexBuffer(6, hlobda_120);
SetIndexStyle(6, DRAW_LINE);
SetIndexBuffer(7, hlobda_124);
SetIndexStyle(7, DRAW_LINE);
break;
case PERIOD_MN1:
hlobi_188 = 9;
SetIndexBuffer(0, hlobda_128);
SetIndexStyle(0, DRAW_NONE);
SetIndexBuffer(1, hlobda_132);
SetIndexStyle(1, DRAW_NONE);
SetIndexBuffer(2, hlobda_136);
SetIndexStyle(2, DRAW_NONE);
SetIndexBuffer(3, hlobda_140);
SetIndexStyle(3, DRAW_NONE);
SetIndexBuffer(4, hlobda_144);
SetIndexStyle(4, DRAW_NONE);
SetIndexBuffer(5, hlobda_148);
SetIndexStyle(5, DRAW_NONE);
SetIndexBuffer(6, hlobda_120);
SetIndexStyle(6, DRAW_NONE);
SetIndexBuffer(7, hlobda_124);
SetIndexStyle(7, DRAW_NONE);
}
hlobi_188 = f0_0(hlobi_188);
return (0);
}
// BFF70FAFF87280218034D69DED854EE3
int f0_1(int hargi_0) {
return (StrToTime(TimeYear(hargi_0) + ".1.1 00:00"));
}
// EA2B2676C28C0DB26D39331A336C6B92
int start() {
int hloki_12;
if (Bars <= 3) return (0);
int hloki_0 = IndicatorCounted();
if (hloki_0 < 0) return (-1);
int hloki_4 = Bars - 2;
if (hloki_0 > 2) hloki_4 = Bars - hloki_0 - 1;
for (int hloki_8 = hloki_4; hloki_8 >= 0; hloki_8--) {
if (hlobi_184 < 10) hloki_12 = iBarShift(NULL, hlobi_188, Time[hloki_8], FALSE);
else hloki_12 = iBarShift(NULL, hlobi_188, f0_1(Time[hloki_8]), FALSE);
hlobd_112 = iMA(Symbol(), 0, hlobi_192, 0, hlobi_196, hlobi_200, hloki_8);
hlobd_176 = iOpen(NULL, hlobi_188, hloki_12);
hlobda_120[hloki_8] = hlobd_176;
hlobda_124[hloki_8] = hlobd_176;
if (hlobd_176 > hlobd_112) hlobda_124[hloki_8] = EMPTY_VALUE;
hlobda_128[hloki_8] = hlobd_176 + hlobd_152;
hlobda_136[hloki_8] = hlobd_176 + hlobd_160;
hlobda_144[hloki_8] = hlobd_176 + hlobd_168;
hlobda_132[hloki_8] = hlobd_176 - hlobd_152;
hlobda_140[hloki_8] = hlobd_176 - hlobd_160;
hlobda_148[hloki_8] = hlobd_176 - hlobd_168;
}
return (0);
}
#property indicator_chart_window
#property indicator_buffers 8
#property indicator_color1 C'43,36,0'
#property indicator_color2 C'43,36,0'
#property indicator_color3 C'0,18,36'
#property indicator_color4 C'0,18,36'
#property indicator_color5 C'49,14,0'
#property indicator_color6 C'37,1,10'
#property indicator_color7 OrangeRed
#property indicator_color8 DeepSkyBlue
extern double TimeShiftMins = 60.0;
extern bool show_target_lines = true;
extern string Moving_DecPoint_by_1_place = "change 10 to 1 or 100";
extern int DecPoint = 10;
extern int Target1 = 50;
extern int Target2 = 100;
extern int Target3 = 150;
double hlobd_112;
double hlobda_120[];
double hlobda_124[];
double hlobda_128[];
double hlobda_132[];
double hlobda_136[];
double hlobda_140[];
double hlobda_144[];
double hlobda_148[];
double hlobd_152;
double hlobd_160;
double hlobd_168;
double hlobd_176;
int hlobi_184;
int hlobi_188;
int hlobi_192 = 2;
int hlobi_196 = MODE_SMMA;
int hlobi_200 = PRICE_WEIGHTED;
int hlobi_204;
// 90F1A326765E5CD9B925234B762D453D
int f0_0(int hargi_0) {
if (hargi_0 == 1) return (1);
if (hargi_0 == 2) return (5);
if (hargi_0 == 3) return (15);
if (hargi_0 == 4) return (30);
if (hargi_0 == 5) return (60);
if (hargi_0 == 6) return (240);
if (hargi_0 == 7) return (1440);
if (hargi_0 == return (10080);
if (hargi_0 == 9) return (43200);
return (43200);
}
// E37F0136AA3FFAF149B351F6A4C948E9
int init() {
hlobd_152 = Point * DecPoint * Target1;
hlobd_160 = Point * DecPoint * Target2;
hlobd_168 = Point * DecPoint * Target3;
hlobi_204 = iTime(NULL, PERIOD_D1, 0);
if (TimeShiftMins != 0.0) hlobi_204 += 60.0 * TimeShiftMins;
IndicatorBuffers(8);
IndicatorDigits(Digits);
SetIndexBuffer(0, hlobda_128);
SetIndexStyle(0, DRAW_NONE);
SetIndexBuffer(1, hlobda_132);
SetIndexStyle(1, DRAW_NONE);
SetIndexBuffer(2, hlobda_136);
SetIndexStyle(2, DRAW_NONE);
SetIndexBuffer(3, hlobda_140);
SetIndexStyle(3, DRAW_NONE);
SetIndexBuffer(4, hlobda_144);
SetIndexStyle(4, DRAW_NONE);
SetIndexBuffer(5, hlobda_148);
SetIndexStyle(5, DRAW_NONE);
SetIndexBuffer(6, hlobda_120);
SetIndexStyle(6, DRAW_LINE);
SetIndexBuffer(7, hlobda_124);
SetIndexStyle(7, DRAW_LINE);
if (show_target_lines) {
SetIndexBuffer(0, hlobda_128);
SetIndexStyle(0, DRAW_LINE);
SetIndexBuffer(1, hlobda_132);
SetIndexStyle(1, DRAW_LINE);
SetIndexBuffer(2, hlobda_136);
SetIndexStyle(2, DRAW_LINE);
SetIndexBuffer(3, hlobda_140);
SetIndexStyle(3, DRAW_LINE);
SetIndexBuffer(4, hlobda_144);
SetIndexStyle(4, DRAW_LINE);
SetIndexBuffer(5, hlobda_148);
SetIndexStyle(5, DRAW_LINE);
SetIndexBuffer(6, hlobda_120);
SetIndexStyle(6, DRAW_LINE);
SetIndexBuffer(7, hlobda_124);
SetIndexStyle(7, DRAW_LINE);
}
switch (Period()) {
case PERIOD_M1:
hlobi_188 = 7;
break;
case PERIOD_M5:
hlobi_188 = 7;
break;
case PERIOD_M15:
hlobi_188 = 7;
break;
case PERIOD_M30:
hlobi_188 = 7;
break;
case PERIOD_H1:
hlobi_188 = 7;
break;
case PERIOD_H4:
hlobi_188 = 8;
SetIndexBuffer(0, hlobda_128);
SetIndexStyle(0, DRAW_NONE);
SetIndexBuffer(1, hlobda_132);
SetIndexStyle(1, DRAW_NONE);
SetIndexBuffer(2, hlobda_136);
SetIndexStyle(2, DRAW_NONE);
SetIndexBuffer(3, hlobda_140);
SetIndexStyle(3, DRAW_NONE);
SetIndexBuffer(4, hlobda_144);
SetIndexStyle(4, DRAW_NONE);
SetIndexBuffer(5, hlobda_148);
SetIndexStyle(5, DRAW_NONE);
SetIndexBuffer(6, hlobda_120);
SetIndexStyle(6, DRAW_LINE);
SetIndexBuffer(7, hlobda_124);
SetIndexStyle(7, DRAW_LINE);
break;
case PERIOD_D1:
hlobi_188 = 9;
SetIndexBuffer(0, hlobda_128);
SetIndexStyle(0, DRAW_NONE);
SetIndexBuffer(1, hlobda_132);
SetIndexStyle(1, DRAW_NONE);
SetIndexBuffer(2, hlobda_136);
SetIndexStyle(2, DRAW_NONE);
SetIndexBuffer(3, hlobda_140);
SetIndexStyle(3, DRAW_NONE);
SetIndexBuffer(4, hlobda_144);
SetIndexStyle(4, DRAW_NONE);
SetIndexBuffer(5, hlobda_148);
SetIndexStyle(5, DRAW_NONE);
SetIndexBuffer(6, hlobda_120);
SetIndexStyle(6, DRAW_LINE);
SetIndexBuffer(7, hlobda_124);
SetIndexStyle(7, DRAW_LINE);
break;
case PERIOD_W1:
hlobi_188 = 9;
SetIndexBuffer(0, hlobda_128);
SetIndexStyle(0, DRAW_NONE);
SetIndexBuffer(1, hlobda_132);
SetIndexStyle(1, DRAW_NONE);
SetIndexBuffer(2, hlobda_136);
SetIndexStyle(2, DRAW_NONE);
SetIndexBuffer(3, hlobda_140);
SetIndexStyle(3, DRAW_NONE);
SetIndexBuffer(4, hlobda_144);
SetIndexStyle(4, DRAW_NONE);
SetIndexBuffer(5, hlobda_148);
SetIndexStyle(5, DRAW_NONE);
SetIndexBuffer(6, hlobda_120);
SetIndexStyle(6, DRAW_LINE);
SetIndexBuffer(7, hlobda_124);
SetIndexStyle(7, DRAW_LINE);
break;
case PERIOD_MN1:
hlobi_188 = 9;
SetIndexBuffer(0, hlobda_128);
SetIndexStyle(0, DRAW_NONE);
SetIndexBuffer(1, hlobda_132);
SetIndexStyle(1, DRAW_NONE);
SetIndexBuffer(2, hlobda_136);
SetIndexStyle(2, DRAW_NONE);
SetIndexBuffer(3, hlobda_140);
SetIndexStyle(3, DRAW_NONE);
SetIndexBuffer(4, hlobda_144);
SetIndexStyle(4, DRAW_NONE);
SetIndexBuffer(5, hlobda_148);
SetIndexStyle(5, DRAW_NONE);
SetIndexBuffer(6, hlobda_120);
SetIndexStyle(6, DRAW_NONE);
SetIndexBuffer(7, hlobda_124);
SetIndexStyle(7, DRAW_NONE);
}
hlobi_188 = f0_0(hlobi_188);
return (0);
}
// BFF70FAFF87280218034D69DED854EE3
int f0_1(int hargi_0) {
return (StrToTime(TimeYear(hargi_0) + ".1.1 00:00"));
}
// EA2B2676C28C0DB26D39331A336C6B92
int start() {
int hloki_12;
if (Bars <= 3) return (0);
int hloki_0 = IndicatorCounted();
if (hloki_0 < 0) return (-1);
int hloki_4 = Bars - 2;
if (hloki_0 > 2) hloki_4 = Bars - hloki_0 - 1;
for (int hloki_8 = hloki_4; hloki_8 >= 0; hloki_8--) {
if (hlobi_184 < 10) hloki_12 = iBarShift(NULL, hlobi_188, Time[hloki_8], FALSE);
else hloki_12 = iBarShift(NULL, hlobi_188, f0_1(Time[hloki_8]), FALSE);
hlobd_112 = iMA(Symbol(), 0, hlobi_192, 0, hlobi_196, hlobi_200, hloki_8);
hlobd_176 = iOpen(NULL, hlobi_188, hloki_12);
hlobda_120[hloki_8] = hlobd_176;
hlobda_124[hloki_8] = hlobd_176;
if (hlobd_176 > hlobd_112) hlobda_124[hloki_8] = EMPTY_VALUE;
hlobda_128[hloki_8] = hlobd_176 + hlobd_152;
hlobda_136[hloki_8] = hlobd_176 + hlobd_160;
hlobda_144[hloki_8] = hlobd_176 + hlobd_168;
hlobda_132[hloki_8] = hlobd_176 - hlobd_152;
hlobda_140[hloki_8] = hlobd_176 - hlobd_160;
hlobda_148[hloki_8] = hlobd_176 - hlobd_168;
}
return (0);
}
-
- Posts: 6
- Joined: Tue Feb 25, 2014 6:48 pm
Re: Daily open line
Here's one I wrote for myself. Hopefully it can be of some use.
Regards.
Regards.
- Attachments
-
- DailyOpenLine.zip
- (1.37 MiB) Downloaded 1187 times
-
- Posts: 11
- Joined: Mon Feb 01, 2010 11:27 pm
Re: Daily open line
tradista wrote:Here's one I wrote for myself. Hopefully it can be of some use.
Regards.
Tradista,
Many thanks. That was very kind of you and it very much appreciated.
-
- Posts: 8
- Joined: Sat Apr 26, 2014 3:00 pm
Re: Daily open line
Hi,
Here is the one I use in my mt4 platform, if it is any help.
Sincerely
Leif
Here is the one I use in my mt4 platform, if it is any help.
Sincerely
Leif
- Attachments
-
- daily_open_line.zip
- (918 Bytes) Downloaded 634 times
Who is online
Users browsing this forum: No registered users and 6 guests