# 各位大佬，我用icustom调用了本地的指标用来开单，如何调整使出现信号后，在当前这跟k线的low值下单？

```double up=iCustom(Symbol(),0,"Circle Rising Point 3.0",0,0);
double down=iCustom(Symbol(),0,"Circle Rising Point 3.0",1,0);
double buyop,buylots;
int buydanshu=buydanshu(buyop,buylots);
if(buydanshu==0)
{
if(up>0)
{
Print("up"+DoubleToStr(up,3));
if(buytime!=Time[0])
{
if(buy(初始下单量,0,初始单止盈点数,Symbol()+"buy",magic)>0)
{
buytime=Time[0];
}
}
}
}```

Time[0]建議換成TimeCurrent()兩個的結果不一樣 可以打印出來觀察一下

```if(.....条件)
{
entrypointBuffer[i]=low[i];
}```

Hung Wen Lin #:

Time[0]建議換成TimeCurrent()兩個的結果不一樣 可以打印出來觀察一下

Hung Wen Lin #:

Time[0]建議換成TimeCurrent()兩個的結果不一樣 可以打印出來觀察一下

```double up=iCustom(Symbol(),0,"Circle Rising Point 3.0",0,0);
double down=iCustom(Symbol(),0,"Circle Rising Point 3.0",1,0);
double buyop,buylots;
int buydanshu=buydanshu(buyop,buylots);
if(buydanshu==0)
{
if(up>0 && iClose(NULL,0,1)<iOpen(NULL,0,1))
{
Print("up"+DoubleToStr(up,3));
if(buytime!=TimeCurrent())
{
if(buy(初始下单量,0,初始单止盈点数,Symbol()+"buy",magic)>0)
{
buytime=TimeCurrent();
}
}
}
}```