# Converting tradestation Indicator to Ninjatrader 6.5 - 15 lines of code

Hi there,

I have a simple code written in Easy Language ( which operates in Trade Station). The developer MUST be able to understand Easy Laungage as it is critical that the conversion gives the same output.

I want my tradestation indicator to be converted to Ninjatrader 6.5. It is a simple MACD indicator-variation.

Here is the code : This must be a simple code change for a seasoned programmer ..Please let me know if you have any questions

If the work is good and cost-effective, i would come up with converting my 10+ strategies to Ninjatrader6.5

--------------

inputs:

ExpansionColor(cyan), ContractionColor(red), DisplayZeroLine(true);

vars:

Var7( 0), Var8( 0), Var9( 0),

Var10( 0), Var11( 0), Var12( 0), Var13( 0), Var14( 0),

Var15( 0), Var16( 0), Var17( 0), Var18( 0);

If DisplayZeroLine then PLOT1 ( 0, "Zero");

Var10 = MACD( CLOSE , 8, 89);

Var11 = XAVERAGE(Var10, 89);

Var12 = Var10 - Var11;

Var13 = MACD( CLOSE , 8, 144);

Var14 = XAVERAGE(Var13, 144);

Var15 = Var13 - Var14;

Var16 = MACD( CLOSE , 8, 233);

Var17 = XAVERAGE(Var16, 233);

Var18 = Var16 - Var17;

Var7 = MAXLIST(Var10, Var13, Var16);

Var8 = MINLIST(Var10, Var13, Var16);

Var9 = Var7 - Var8;

If Var9 > Var9[ 1] then begin

PLOT3 (Var7, "ExpHi", ExpansionColor);

PLOT4 (Var8, "ExpLo", ExpansionColor);

end

else

begin

PLOT3 (Var7, "ContHi", ContractionColor);

PLOT4 (Var8, "ContLo", ContractionColor);

end;

Compétences : Programmation C#, Architecture Logicielle

Concernant l'employeur :
( 1 commentaire ) Chennai, India

Nº du projet : #2368066