Thread: How to code?
View Single Post
  #1002 (permalink)  
Old 06-10-2008, 10:15 AM
panteraschoice panteraschoice is offline
Junior Member
 
Join Date: Jun 2008
Posts: 9
panteraschoice is on a distinguished road
Quote:
Originally Posted by IN10TION View Post
I'm doing a backtest now only with the RSIFilter, I do use the RSIMixFilter few posts ago in this thread, I published that indicator, and I do get BUYS and SELLS, so the logic to do the orders BUY and SELL are ok, the issue is with your iCustom signals...
So this is ok?

double Sg=iCustom(NULL,0,"RSIFilter_v1",5,5,0,1);

if ( Sg>0) Order = SIGNAL_BUY;
if (Sg<0 ) Order = SIGNAL_SELL;
Reply With Quote