Jump to content

Symphonie Trader: Market Emotion indicator --> ELS convert


e-Invester

Recommended Posts

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

}

Link to comment
Share on other sites

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??

Link to comment
Share on other sites

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??

 

No...but I did receive an email from these guys if you want to contact them:

 

http://www.rezafx.com/

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...