TCCI with Alert EA
This is an EA based on the class average index of the user-defined algorithm. The uplink and downlink are identified by color according to the band, and the pop-up box can be opened or closed to prompt that the current purchase or sale order should be listed.
Parameter list description:
External double LotSize = 0.01
External int magic = 20201124; magic logo, generally does not need to be changed
External int SL = 150; stop loss
External int TP = 300
extern bool USE_ Lock_ In_ Prove = false; turn on mobile stop profit
extern double Unrealized_ profit_ Retained = 50; profit point 1 triggered by moving profit stop
extern double Lock_ In_ Profit = 20; mobile profit point 1
extern double Unrealized_ profit_ Attached 1 = 120; profit point 2 triggered by moving profit stop
extern double Lock_ In_ Profit1 = 100; mobile profit stop profit point 2
External ordertype ordertype = marketorder; / / marketorder market order / / limitorder limit order / / stoporder
External int limitordergap = 40; / / distance point of limit order or additional order
External int price = 0; / / initial calculation average price of index
External int length = 20; / / the average period of index calculation is equivalent to the average period of Ma.
extern int Displace = 0;
External int filter = 0; / / number of filter columns
External int color = 1; / / uplink color
External int colorbarback = 0; / / downlink color
External double deviation = 0.0; / / deviation
External int barstodraw = 2000; / / calculate the number of columns
External bool alertson = true; / / turns on or off the pop-up prompt
External int remindfrequency = 60; / / the pop-up frequency is one minute by default
The current default parameter is to mount the EURUSD 1H cycle. Please optimize the parameters for other cycles.
Hello Wenfei, I bought the EA "TCCI with alert EA". when I set the indicator as follows: DAX 30 5min-- length = 40, Displace = -1, Filter = 3, Color = 4, Color Back = 4, Devi = 0, Bars = 1000 good signals for orders are generated. But the orders are not executed in the appropriate values and also not in the appropriate time! This means that the EA cannot be used!
extern int Price = 0; //指标初始计算均价
extern int Length = 20; //指标计算平均周期,相当于MA的平均周期。
extern int Displace = 0;
extern int Filter = 0; //过滤柱数
extern int Color = 1; //上行颜色
extern int ColorBarBack = 0; //下行颜色
extern double Deviation = 0.0; //偏离
extern int BarsToDraw=2000; //计算柱子数 \n
You'd better use the default parameters instead of changing them.