e-Invester Posted August 6, 2012 Report Share Posted August 6, 2012 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); } Quote Link to comment Share on other sites More sharing options...
rick1713006413 Posted August 6, 2012 Report Share Posted August 6, 2012 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.... Quote Link to comment Share on other sites More sharing options...
e-Invester Posted August 7, 2012 Author Report Share Posted August 7, 2012 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?? Quote Link to comment Share on other sites More sharing options...
rick1713006413 Posted August 7, 2012 Report Share Posted August 7, 2012 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/ e-Invester 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.