-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathH1.h
32 lines (30 loc) · 980 Bytes
/
H1.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/*
* @file
* Defines default strategy parameter values for the given timeframe.
*/
// Defines indicator's parameter values for the given pair symbol and timeframe.
struct Indi_BearsPower_Params_H1 : IndiBearsPowerParams {
Indi_BearsPower_Params_H1() : IndiBearsPowerParams(indi_bears_defaults, PERIOD_H1) {
applied_price = (ENUM_APPLIED_PRICE)0;
period = 14;
shift = 0;
}
} indi_bears_h1;
// Defines strategy's parameter values for the given pair symbol and timeframe.
struct Stg_bears_Params_H1 : StgParams {
// Struct constructor.
Stg_bears_Params_H1() : StgParams(stg_bears_defaults) {
lot_size = 0;
signal_open_method = 2;
signal_open_level = (float)0;
signal_open_boost = 0;
signal_close_method = 2;
signal_close_level = (float)0;
price_profit_method = 60;
price_profit_level = (float)6;
price_stop_method = 60;
price_stop_level = (float)6;
tick_filter_method = 32;
max_spread = 0;
}
} stg_bears_h1;