Specifiche
Lines for EA:
CONDITION (It is just a topic, there is no input, all ma I have for lines GrouRanges1 and GroupRange2 are in order growing or decreasing) Ranges_Inside_Fix_Scale: p.n.s;pns;pns... GrouRanges1: p.n.s.;p.n.s.;p.n.s.;p.n.s.;p.n.s.;p.n.s. GroupRange2: p.n.s.;p.n.s.;p.n.s.;p.n.s.;p.n.s.;p.n.s. ------------------------------------------------------ ENTRY1 D3_Minimum: D3_Maximum: ------------------------------------------------------ GENERAL SETTINGS INVERSE: FILTER_SPREAD_MAXIMUM: TAKE_PROFIT_POINTS: STOP_LOSS_POINTS: TOLERANCE: LOT1: TP1: POINTS_FOR_LOT2: LOT2: TP2: POINTS_FOR_LOT3: LOT3: TP3: ===============================================
Descriptions:
Conditions
===============================================
Descriptions:
Ranges m.a. aligned up or down
1) m.a. of all ranges must be aligned up or aligned down
example: ma 10 level price > ma 60 level price > 150 ma, It is aligne up; 10 level price < ma 60 level price < 150 ma, It is aligne down
2) Ranges_Inside_Fix_Scale: p.n.s;p.n.s;p.n.s.... Only these ranges are allowed at fix scale interval, if any other ma is inside of It, EA can not trade (top/down fix scale is maximum and minium level price ate extreme right of chart)
3) GroupRange1
p = first period, n = number of MA, s = step. Each bloc of MA separated by ";"
p = period of moving average
n = number of moving average
s = step
example:
range 1 = 50, 100, 150
range 2 = 200, 300, 400, 500
range 3 = 600, 800, 1000, 1200
It would be: 50,3,50;200,4,100;600,4,200
4) GroupRange2
The same logic for Range 1
An example of inputs:
CONDITION (all ma in order growing or decreasing) No input is necessary
GroupRange2: 300,3,30
It could be like this (Ranges_Inside_Fix_Scale has not all ma as GroupRanges1 and GroupRanges2):
GroupRange2: 300,3,30
In this case, if EA checks ma inside Fix Scale is not inputed for line Ranges_Inside_Fix_Scale It is not valid Condition.
Signal
4) EA finds:
d1 = distance of minor moving average to major from Range 1
d2 = distance of minor moving average to major from Range 2
d3 = d1 divided by d2
Entry
Ea finds d3
3) Ea makes sell at next open bar if signal is aligned up or buy if algined down
4) Tolerance, like 1st tick can be higher/downest 10% distance open/close previous bar, I set this
5) FILTER SPREAD is Max spread for open position
6) TAKE PROFIT In points
7) STOPLOSS (if lot 2 is on and lot 3 is off, ea has stop loss after lot 2; if lot 3 is on, stop loss just after lot 3 is openned - like martingale)
Stop loss in points
8) LOT1
Size of lot1
9) LOT2 (if off, ea uses just lot 1; if on, ea opens lot2 if trades goes against and trigger points for lot2)
Size for lot2
Points for lot2
10) LOT3 (if off, ea uses just lot 1 and lot 2 if lot 2 is on; if on, ea opens lot3 if trades goes against lot2 2 and trigger points for lot3)
Size of lot3
Poinst for lot3
General Settings:
1) Inverse = on/off
If on, sell if ma are growing up or buy if ma are decreasing down.
If off, buy if ma are growing up or sell if ma are decreasing down
2)
LOT1_SIZE: 0.01 TP_LOT1: 100 POINTS_FOR_LOT2: 100 LOT2_SIZE: 0.02 TP_LOT2: 200 POINTS_FOR_LOT3: 300 LOT3_SIZE: 0.04 TP_LOT3: 300
Example:
buy lot 0.01 at 1.00500; ea has not tp at 1.00600
at 1.00400 buy lot 0.02; ea has not tp at 1.00600
buy at 1.00100 lot 0.04; ea has not tp at 1.00400
EA still trading untill tp or break account
Source free
This image has 5 ranges.
Several ma is a range, several ranges is a group.
I input ranges to lines:
This way, I can input range 1 and 2 for group 1 and ranges 3, 4 and 5 for group 2
Example, I set:
d1 = range 1 and range 2, so d1 = distance in points from extremes beteween r1 and r2
d2 = r3 and r4, d2 the same logic as d1
d3 = d1/d2
d1, d2 and d3 must be plotted on chart
Example of input:
Range_Inside_Fix_Scale = r1 (green), r2 (yellow), r3 (blue)
It means just ranges 1, 2 and 3 must be inside 1.34415 and 1.30665
In this example, condition is not match, cause there are mas (white, red) from others ranges inside fixscale
Fix scale is given by extremes level price, as appears on f8. It changes as prices comes.