Hi there,
Could you please generate a strategy based on the following:
References:
Regression_Color_Dot.lua
Regression_Line.lua
Indicators:
R1(Fast), R2(Medium), R3(Slow)
R3 sets the Trend. If R3 is Green, trend is Up. If R3 is Red, trend is Down.
Enter Long if:
R3 is Green
R1 is Green AND R1 > R3
R2 is Green AND R2 >R3
Note: for Long R1 does not have to be > R2
Exit Long if R1 is Red AND if R2 is Red AND R1<R3
Vice Versa for Short
Maximum three positions.
Initial Stop, Limit and Trailing Stop available.
Thank you, Mike