How to compile cross-Phoenix Lapras model for stock selection

Cross-Phoenix Lapras This belongs to the scope of morphological stock selection. Using formulas to describe morphological stock selection must be carefully considered. The following is just a simple idea for your reference only.

The general idea is to select Dayang Line and Yin Da Line first, and judge whether there is consolidation between Dayang Line and Yin Da Line, and require consolidation for more than 18 days and less than 50 days.

YXA:= C & gt; O & amp& amp high/low> 1.07;

YXB:= CL & gt; 1.07;

AY:= bars last(YXA);

BY:= bars last(YXB);

PZ:=HHV(H,BY)/LLV(L,BY);

XG:IF(AY = 0 & amp; & by> 10. & by & lt50 & amp& ampREF(PZ,1)1.13,1,0);