NexusFi: Find Your Edge


Home Menu

 





Can anyone help me make the RC Beginner strategy work in MultiCharts?


Discussion in MultiCharts

Updated
      Top Posters
    1. looks_one greyhound with 4 posts (0 thanks)
    2. looks_two Tiforp with 2 posts (0 thanks)
    3. looks_3 sthlmjohan with 1 posts (0 thanks)
    4. looks_4 Big Mike with 1 posts (0 thanks)
    1. trending_up 3,335 views
    2. thumb_up 0 thanks given
    3. group 4 followers
    1. forum 7 posts
    2. attach_file 4 attachments




 
Search this Thread

Can anyone help me make the RC Beginner strategy work in MultiCharts?

  #1 (permalink)
greyhound
montreal, canada
 
Posts: 4 since May 2011
Thanks Given: 0
Thanks Received: 0

Hi,

I am using MultiCharts version 6 and I have imported a strategy called “RC Beginner” from TradeStation into MC (see attached file). My problem is that it is not working in MC, although the PowerLanguage editor has compiled it successfully. It works fine in TS but not in MC. I have other signals that I use in MC that are working just fine. So my software installation is visibly not the issue. Can someone help me make it work in MC? Here's the code:

Inputs:
PriceES(Close of Data1),
PriceNDQ(Close of Data2);
Vars: StopLoss(12), Stop_Width(0), Stop_Price(0);
Vars: StartTimeMins(0), EndTimeMins(0), LastTradeMins(0), Tmins(0);
if CurrentBar=1 then
begin
StartTimeMins = TimeToMinutes(Sess1StartTime)+40; //10:10
LastTradeMins = TimeToMinutes(Sess1EndTime)-25; //15:50
EndTimeMins = TimeToMinutes(Sess1EndTime)-15; //16:00
end;
Tmins = TimeToMinutes (Time);
Vars: ESYDC(0), NDQYDC(0), Started(FALSE);
Vars: ESLevel(0), NDQLevel(0);
if Date<>Date[1] then
begin
ESYDC = PriceES[1];
NDQYDC = PriceNDQ[1];
Started = TRUE;
end;
if Started then
begin
ESLevel = Close-ESYDC;
NDQLevel = PriceNDQ-NDQYDC;
end;
Vars: Priority(false), NDQ(0), NoTrade(false);
Vars: Trade1(false), Trade3(false), Trade4(false), Trade5(false);
Vars: Trade6(false), Trade8(false), Trade9(false), Trade10(false);
if Date<>Date[1] then
begin
Priority = false;
NoTrade = false;
Trade1 = false;
Trade3 = false;
Trade4 = false;
Trade5 = false;
Trade6 = false;
Trade8 = false;
Trade9 = false;
Trade10 = false;
end;
if Tmins = StartTimeMins then
begin
{condition 1}
if ESLevel >= 0 and ESLevel < 10 and NDQLevel >= 0 and NDQLevel
< 10 and NDQLevel >= ESLevel then Trade1 = true
{condition 2}
else if ESLevel >= 0 and ESLevel < 10 and NDQLevel >= 0 and
NDQLevel < 10 and ESLevel > NDQLevel then NoTrade = true
{condition 3}
else if ESLevel < 0 and ESLevel > -10 and NDQLevel < 0 and
NDQLevel > -10 and NDQLevel <= ESLevel then Trade3 = true
{condition 4}
else if ESLevel < 0 and ESLevel > -10 and NDQLevel < 0 and
NDQLevel > -10 and ESLevel < NDQLevel then
begin
Sell Short("Short 4")this bar on close;
Priority = true;
Stop_Width = StopLoss;
end
{condition 5}
else if ESLevel >= 0 and ESLevel < 10 and NDQLevel < 0 and
NDQLevel > -10 then Trade5 = true
{condition 6}
else if ESLevel < 0 and ESLevel > -10 and NDQLevel >= 0 and
NDQLevel < 10 then Trade6 = true
{condition 7}
else if ESLevel < 0 and ESLevel > -10 and NDQLevel <= -10 then
NoTrade = true
{condition 8}
else if ESLevel >= 0 and ESLevel < 10 and NDQLevel >= 10 then
begin
NDQ = NDQLevel;
Trade8 = true;
End
{condition 9}
else if ESLevel <= -10 and NDQLevel <= -10 then
begin
NDQ = NDQLevel;
Trade9 = true;
End
{condition 10}
else if ESLevel >= 10 and NDQLevel >= 10 then
begin
NDQ = NDQLevel;
Trade10 = true;
end;
end;
if Tmins >= StartTimeMins and Tmins <= LastTradeMins and
Priority = false then
begin
{condition 1}
if NDQLevel <= -13 and Trade1 then
begin
Sell Short("Short 1")this bar on close;
Trade1 = false;
Priority = true;
Stop_Width = StopLoss;
end;
{condition 2 = No Trade}
{condition 3}
if NDQLevel <= -13 and Trade3 then
begin
Sell Short("Short 3")this bar on close;
Trade3 = false;
Priority = true;
Stop_Width = StopLoss;
end;
{condition 5}
if ESLevel >= 2 and NDQLevel >= 13 and Trade5 then
begin
Buy("Long 5")this bar on close;
Trade5 = false;
Priority = true;
Stop_Width = StopLoss;
end;
{condition 6}
if ESLevel <= -2 and NDQLevel <= -13 and Trade6 then
begin
Sell Short("Short 6")this bar on close;
Trade6 = false;
Priority = true;
Stop_Width = StopLoss;
end;
{condition 7 = No Trade}
{condition 8}
if NDQLevel-NDQ >= 10 and Trade8 then
begin
Buy("Long 8")this bar on close;
Trade8 = false;
Priority = true;
Stop_Width = StopLoss;
end;
{condition 9}
if NDQ-NDQLevel >= 10 and Trade9 then
begin
Sell Short("Short 9")this bar on close;
Trade9 = false;
Priority = true;
Stop_Width = StopLoss;
end;
{condition 10}
if NDQLevel-NDQ >= 10 and Trade10 then
begin
Buy("Long 10")this bar on close;
Trade10 = false;
Priority = true;
Stop_Width = StopLoss;
end;
end;
if MarketPosition = 1 then
begin
Stop_Price = EntryPrice - Stop_Width;
Sell ("L-Exit") next bar Stop_Price Stop;
end;
if MarketPosition = -1 then
begin
Stop_Price = EntryPrice + Stop_Width;
buy to cover ("S-Exit") next bar Stop_Price
Stop;
end;
if Tmins >= EndTimeMins then
begin
Sell("Long Close") this bar on close;
Buy to Cover("Short Close") this bar on close;
end;



Thanks in advance,



Michael

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Better Renko Gaps
The Elite Circle
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
ZombieSqueeze
Platforms and Indicators
Exit Strategy
NinjaTrader
MC PL editor upgrade
MultiCharts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Just another trading journal: PA, Wyckoff & Trends
31 thanks
Spoo-nalysis ES e-mini futures S&P 500
29 thanks
Tao te Trade: way of the WLD
24 thanks
Bigger Wins or Fewer Losses?
20 thanks
GFIs1 1 DAX trade per day journal
17 thanks
  #2 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,442 since Jun 2009
Thanks Given: 33,215
Thanks Received: 101,603

What does "not working" mean? Be more specific, include exactly what steps you are taking when adding it to your chart. Have you also viewed the performance report and does it show any trades?

Mike

We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
  #3 (permalink)
greyhound
montreal, canada
 
Posts: 4 since May 2011
Thanks Given: 0
Thanks Received: 0


Wow, thanks for the quick reply Mike!

By not working I mean, it does not display the same number of trades in MC than in TS (see attached pics). You will notice on the pics that for the same period you not only get more signals in TS but they are also "real" trades as opposed to MC where you see only 3 trades for the whole report all ending at $0 profit/loss. Strange...

Michael

Attached Thumbnails
Click image for larger version

Name:	TS setup.jpg
Views:	269
Size:	290.2 KB
ID:	38584   Click image for larger version

Name:	TS strategy report.jpg
Views:	275
Size:	411.5 KB
ID:	38585   Click image for larger version

Name:	MC setup.jpg
Views:	257
Size:	333.6 KB
ID:	38586  
Reply With Quote
  #4 (permalink)
greyhound
montreal, canada
 
Posts: 4 since May 2011
Thanks Given: 0
Thanks Received: 0

by the way here's the signal file (attachement)
Michael

Attached Files
Elite Membership required to download: RCBeginner.pla
Reply With Quote
  #5 (permalink)
Tiforp
Cambridge, UK
 
Posts: 5 since Jun 2010
Thanks Given: 1
Thanks Received: 1

Try StopLoss (120), or (1200), and see what happens.

Reply With Quote
  #6 (permalink)
greyhound
montreal, canada
 
Posts: 4 since May 2011
Thanks Given: 0
Thanks Received: 0

Hi Tiforp,

I just tried that and nothing different happened. Have you tried yourself the .pla file that I attached to this thread? Does it work on your Multicharts installation?

Michel

Reply With Quote
  #7 (permalink)
Tiforp
Cambridge, UK
 
Posts: 5 since Jun 2010
Thanks Given: 1
Thanks Received: 1

No.

Have you tried putting this on MiltiCharts forum? Somebody there should be able to help.

Reply With Quote
  #8 (permalink)
 sthlmjohan 
Stockholm, Sweden
 
Experience: Intermediate
Platform: Tradestation, Multicharts
Trading: ES, FDAX, CL, 6E, OMXS30
Posts: 12 since Jun 2012
Thanks Given: 15
Thanks Received: 6

I have also found this strategy and I also aim to try it in MultiCharts.

Have you had any success after the last post in this thread?

Regards
/ Johan

Reply With Quote




Last Updated on February 18, 2013


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts