Yalnızca ürünü satın alan veya kiralayan kullanıcılar yorum yazabilir
Ronald Torres  
Anything can be done so that EA only monitors the pair for the Chart I loaded it on? I see that it forces all pairs to show up on Market watch.
Ziheng Zhuang  
Ronald Torres:
Anything can be done so that EA only monitors the pair for the Chart I loaded it on? I see that it forces all pairs to show up on Market watch.


It monitors all paris and just need to run it on only one chart.

Terek  

stdlib.ex4 string error

for some reason I cannot get it work now. it's great tool and previously worked good. what would be the solution?

in dependencies it shows: string ErrorDescription (int) stdlib.ex4

Ziheng Zhuang  
Terek #:

for some reason I cannot get it work now. it's great tool and previously worked good. what would be the solution?

in dependencies it shows: string ErrorDescription (int) stdlib.ex4


Try to delete it and redownload it.

Terek  
Ziheng Zhuang #:


Try to delete it and redownload it.

doesn't help and one more thing, when I try to remove EA from chart it hangs up terminal
Terek  

update:

it seems it's related to indices as DE40 in my example, attaching it to EURUSD working and it seems it monitors everything from there, need to observe further.

please check correctness of working with indices as DE40, US30

Ziheng Zhuang  
Terek #:

update:

it seems it's related to indices as DE40 in my example, attaching it to EURUSD working and it seems it monitors everything from there, need to observe further.

please check correctness of working with indices as DE40, US30

DE40/US30 are not 24 hours trading symbols.

Do not use it on the symbols which are not 24 hours trading.

Terek  
Ziheng Zhuang #:

DE40/US30 are not 24 hours trading symbols.

Do not use it on the symbols which are not 24 hours trading.

I need to monitor their slippage, so will it monitor correctly them from EURUSD chart?
Ziheng Zhuang  
Terek #:
I need to monitor their slippage, so will it monitor correctly them from EURUSD chart?

Yes.

It monitors all paris and just need to run it on only one chart which has 24 hours trading.

Flying Dutchman  
How are you able to 'backtest' slippage? There should be no slippage in the backtestester. This makes me wonder how you are calcuting the slippage, especially for limit orders: do you actually correlate the open order/position with the limit order's last open price? Or what's your method on calculation? Can you show a small code snippet here for transparency?
Flying Dutchman  
No offense but I dont think your implementation is correct. If I'm looking at my history your values don't appear to be right. Do you actually correlate the position with the order? Or do you just look at what the previous price level was?
Ziheng Zhuang  
Flying Dutchman #:
How are you able to 'backtest' slippage? There should be no slippage in the backtestester. This makes me wonder how you are calcuting the slippage, especially for limit orders: do you actually correlate the open order/position with the limit order's last open price? Or what's your method on calculation? Can you show a small code snippet here for transparency?

To do backtest is just for showing how the data is recorded

EA Only monitors posiitons, no pending orders.

Ziheng Zhuang  
Flying Dutchman #:
No offense but I dont think your implementation is correct. If I'm looking at my history your values don't appear to be right. Do you actually correlate the position with the order? Or do you just look at what the previous price level was?

EA does not monitor pending orders. 

Compare the previous price with the open price /close price.

Ziheng Zhuang  

Flying Dutchman #:
How are you able to 'backtest' slippage? There should be no slippage in the backtestester. This makes me wonder how you are calcuting the slippage, especially for limit orders: do you actually correlate the open

order/position with the limit order's last open price? Or what's your method on calculation? Can you show a small code snippet here for transparency?

CSlippageOnClose *MonitorClose;
CSlippageOnOpen  *MonitorOpen;

//----------------

   while(!IsStopped() && !test)
   {
     

//1. 从market watch中获取品种价格
      UpdateMarketSymbolRate(symRate);

//2. 监控平仓 每个tick更新一次,持仓数据
      MonitorClose.Update();

//3. 监控平仓,写数据到文件
      MonitorClose.WriteLog(EALoadTime);

//4. 监控开仓,是否有新的单子,有则记录并写数据到文件
      if(MonitorOpen.CheckNewOrder(EALoadTime))
      {
         //---填充单子的 prior time, prior price, and slippage
         if(MonitorOpen.Update(symRate))//如果symRate没有数据则返回fasle,填充完毕返回true
         {
            MonitorOpen.WriteLog();
         }
      }
      Sleep(10);

//other codes


}
ROYPERTH1  
Any chance for push notification, if slippage is more than a pre-determined slippage?
Yalnızca ürünü satın alan veya kiralayan kullanıcılar yorum yazabilir