strategy layers to allow creation of 1 line of code for algo #55
MicroTrendsTom
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
So what we will do here is:
within that top derived class layer it would be possible add a 1 line or 2 line rule within a method such as
MyIncrediblyEasyStrategy: ATSQuadroBaseTradeSystem
{
protected override bool TradeEntryValidate(bool islong, int entryModes)
{
return (isLong? Ema(10) > SMA(10) : EMA(10) n < SMA(10));
}
}
not quite 1 line we have to derive a new strategy but you get the point....
So then from that 1 line of entry logiccode they get an entire off the shelf strategy to test with hybrid features, orders and a rich set of features to use etc this will become clear in time :-)
Beta Was this translation helpful? Give feedback.
All reactions