Stock Portfolio Organizer
The ultimate porfolio management solution.
WiseTrader Toolbox
#1 Selling Amibroker Plugin featuring:
Simple Moving average System for Metastock
Moving average System you can use as a basis for your own trading system.
Similar Indicators / Formulas
Indicator / Formula
{ Standard moving average crossover signals. This is NOT a trading system. A bona-fide trading system will require refinement of this basic system }
{ This system buys when the shorter MA crosses above the longer MA, and sells when the shorter MA crosses below the longer MA }
MovingAverage1Length := 50;
MovingAverage2Length := 200;
If(
{------- START ENTER LONG SIGNAL ----------}
Cross(Mov(CLOSE,MovingAverage1Length,SIMPLE),
Mov(CLOSE,MovingAverage2Length,SIMPLE))
{------- END ENTER LONG SIGNAL ----------}
, +1,
If(
{------- START ENTER SHORT SIGNAL ----------}
Cross(Mov(CLOSE,MovingAverage2Length,SIMPLE),
Mov(CLOSE,MovingAverage1Length,SIMPLE))
{------- END ENTER SHORT SIGNAL ----------}
, -1,
If(
{------- START CLOSE LONG SIGNAL ----------}
Cross(Mov(CLOSE,MovingAverage2Length,SIMPLE),
Mov(CLOSE,MovingAverage1Length,SIMPLE))
{------- END CLOSE LONG SIGNAL ----------}
, +2,
If(
{------- START CLOSE SHORT SIGNAL ----------}
Cross(Mov(CLOSE,MovingAverage1Length,SIMPLE),
Mov(CLOSE,MovingAverage2Length,SIMPLE))
{------- END CLOSE SHORT SIGNAL ----------}
, -2,0))))
0 comments
Leave Comment
Please login here to leave a comment.
Back