New! WiseTrader Toolbox for Amibroker is now available with:
  • Advanced Adaptive Indicators
  • Advanced Pattern Exploration
  • Neural Networks
  • And Much More...
GoTo WiseTrader Toolbox

Contribute

Contribute an indicator to the library by clicking here. Note you must be logged in.

Sponsors

Popular Indicators

SwingN for Metastock

{ 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))))

Main Menu

Indicators

Sponsors