Jump to content

⤴️-Paid Ad- Check advertising disclaimer here. Add your banner here.🔥

Recommended Posts

Posted

Hi I was just wondering if anyone could help me converting Symphonie Trader System EA: market emotions indicator from mq4 to tradestation??

 

Would really appreciate it!!!

 

int start()

{

 

if (CountBars>=Bars) CountBars=Bars;

 

SetIndexDrawBegin(0,Bars-CountBars+SSP);

SetIndexDrawBegin(1,Bars-CountBars+SSP);

 

int i, counted_bars=IndicatorCounted();

double SsMax, SsMin, smin, smax;

 

if(Bars<=SSP+1) return(0);

 

if(counted_bars<SSP+1)

{

for(i=1;i<=SSP;i++) ExtMapBuffer1[CountBars-i]=0.0;

for(i=1;i<=SSP;i++) ExtMapBuffer2[CountBars-i]=0.0;

}

 

for(i=CountBars-SSP;i>=0;i--)

{

 

 

SsMax = High[Highest(NULL,0,MODE_HIGH,SSP,i-SSP+1)];

SsMin = Low[Lowest(NULL,0,MODE_LOW,SSP,i-SSP+1)];

 

smax = SsMax-(SsMax-SsMin)*Kmax/100;

 

ExtMapBuffer1[i-SSP+6]=smax;

ExtMapBuffer2[i-SSP-1]=smax;

 

}

for(int b=CountBars-SSP;b>=0;b--)

{

if(ExtMapBuffer1>ExtMapBuffer2)

{

ExtHBuffer1=1;

ExtHBuffer2=0;

}

else

{

ExtHBuffer1=0;

ExtHBuffer2=1;

}

 

}

 

return(0);

}

Posted
If this is the same system as the one on Forex Factory...from what I've seen/read it repaints....the Genesis Matrix (forexfactory) does NOT....

 

Hi yes it does differ, but the repaints doesn't bother me as I enter on second or third bar from where the signal.

 

Thanx for that market matrix idea, I have downloaded it, can you recode market emotions indi to tradestation??

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


⤴️-Paid Ad- Check advertising disclaimer here. Add your banner here.🔥

×
×
  • Create New...