回答編集履歴
2
常に片方のラインが出るよう修正
test
CHANGED
@@ -94,11 +94,13 @@
|
|
94
94
|
|
95
95
|
ObjectSet("Low line", OBJPROP_COLOR, clrWhite); //色
|
96
96
|
|
97
|
+
|
98
|
+
|
99
|
+
ObjectDelete("High line");
|
100
|
+
|
97
101
|
}
|
98
102
|
|
99
|
-
|
100
|
-
|
101
|
-
|
103
|
+
else
|
102
104
|
|
103
105
|
{
|
104
106
|
|
@@ -111,6 +113,10 @@
|
|
111
113
|
ObjectSet("High line",OBJPROP_STYLE,STYLE_SOLID); //実線
|
112
114
|
|
113
115
|
ObjectSet("High line",OBJPROP_COLOR,clrYellow); //色
|
116
|
+
|
117
|
+
|
118
|
+
|
119
|
+
ObjectDelete("Low line");
|
114
120
|
|
115
121
|
}
|
116
122
|
|
1
iLow,iHighの期間修正
test
CHANGED
@@ -60,7 +60,7 @@
|
|
60
60
|
|
61
61
|
//最高値のLow
|
62
62
|
|
63
|
-
double highestL = iLow(NULL,
|
63
|
+
double highestL = iLow(NULL,PERIOD_D1,highestP);
|
64
64
|
|
65
65
|
|
66
66
|
|
@@ -72,7 +72,7 @@
|
|
72
72
|
|
73
73
|
//最安値のHigh
|
74
74
|
|
75
|
-
double cheapestH = iHigh(NULL,
|
75
|
+
double cheapestH = iHigh(NULL,PERIOD_D1,cheapestP);
|
76
76
|
|
77
77
|
|
78
78
|
|