bull老大,请加入均线类型、价格类型作参数,谢啦
#property indicator_chart_window#property indicator_buffers 1
#property indicator_color1 Orange
//---- input parameters
extern int N=30;
extern int PointsAdjust=-10;
//---- buffers
double ExtMapBuffer1[];
//+------------------------------------------------------------------+
//| Custom indicator initialization function |
//+------------------------------------------------------------------+
int init()
{
//---- indicators
SetIndexStyle(0,DRAW_LINE);
SetIndexBuffer(0,ExtMapBuffer1);
return(0);
}
int start()
{
int limit;
int counted_bars=IndicatorCounted();
//---- check for possible errors
if(counted_bars0) counted_bars--;
limit=Bars-counted_bars;
for(int i=0; i 支持~~ 有才的不在少数啊 几头雾水… 谁都不容易啊 ~~ 刚加进这个论坛不久,热衷于EA交易 嘿嘿......哈哈......呵呵.....哟~呼 EA见识的多了,没见过能有一个稳定盈利的 下了的确不错 看看什么EA,,,
页:
[1]
2