Could anyone please give me some tips that how can I get it start? Is that doable by a simple program, or I have to develop a new indicator first then develop the strategy on top?
Sorry if my question seems mis-sync, overall I havent got a clue yet so please bear with me.
Here is the TS code, its the well know RS system No. 1:
Variables:
RelStr(0),
AvgRelStr(0),
CalcRelStr(0),
AvgOBV(0),
CalcOBV(0),
CalcStr(0);
RelStr = IFF(AvgPrice = 0, 0, AvgPrice / AvgPrice Data2);
AvgRelStr = Average(RelStr, 5);
CalcRelStr = IFF(RelStr = 0, 0, RelStr / AvgRelStr);
AvgOBV = Average(OBV, 5);
CalcOBV = IFF(OBV = 0, 0, OBV / AvgOBV);
CalcStr = CalcRelStr * CalcOBV;
If CalcStr Crosses Above 1.0 and MarketPosition = 0 Then
Buy on Close;
If CalcStr Crosses Below 1 Then
ExitLong on Close;
If Close < EntryPrice * 0.96 Then
ExitLong on Close;
Comment