Aurix Exchange

Breaking in to black-boxes

sds2010

Member
I would like to see on my screen all indicators used on a robot. How to do it?

What exactly mean:


int g_period_200 = 0;
int g_period_228 = 0;
int g_period_252 = 0;
int g_period_260 = 0;


HideTestIndicators(TRUE);
double l_iclose_72 = iClose(NULL, PERIOD_M15, 1);
double l_ima_80 = iMA(NULL, PERIOD_M15, g_period_200, 0, MODE_SMMA, PRICE_CLOSE, 1);
double l_iwpr_88 = iWPR(NULL, PERIOD_M15, g_period_228, 1);
double l_iatr_96 = iATR(NULL, PERIOD_M15, g_period_252, 1);
double l_icci_104 = iCCI(NULL, PERIOD_M15, g_period_260, PRICE_TYPICAL, 1);
HideTestIndicators(FALSE);

Is I_ima_80 mean 80 period Moving Average?
 

maximo

Member
Just place 2 slashes in front of this line like this,

// HideTestIndicators(TRUE);

The indicators should appear once a backtest is finished. [edit] tick box Visual mode

These are the indicator values,

int g_period_200 = 0;
int g_period_228 = 0;
int g_period_252 = 0;
int g_period_260 = 0;

They are all zero for some reason?

If these values are changed by a DLL or online website then you can print them to find out which ones are used,

print("value1 ",g_period_200) ;

You can then add the indicators and their values to your chart.
 

jyrik

Member
I would like to see on my screen all indicators used on a robot. How to do it?

What exactly mean:


int g_period_200 = 0;
int g_period_228 = 0;
int g_period_252 = 0;
int g_period_260 = 0;


HideTestIndicators(TRUE);
double l_iclose_72 = iClose(NULL, PERIOD_M15, 1);
double l_ima_80 = iMA(NULL, PERIOD_M15, g_period_200, 0, MODE_SMMA, PRICE_CLOSE, 1);
double l_iwpr_88 = iWPR(NULL, PERIOD_M15, g_period_228, 1);
double l_iatr_96 = iATR(NULL, PERIOD_M15, g_period_252, 1);
double l_icci_104 = iCCI(NULL, PERIOD_M15, g_period_260, PRICE_TYPICAL, 1);
HideTestIndicators(FALSE);

Is I_ima_80 mean 80 period Moving Average?


Are you talking about w@ll str e e t r o b o t?
 

Aurix Exchange
Top