Portfolio Trader - help me for this issue - MultiCharts | futures io social day trading
futures io futures trading


Portfolio Trader - help me for this issue
Updated: Views / Replies:530 / 4
Created: by no erocla Attachments:0

Welcome to futures io.

(If you already have an account, login at the top of the page)

futures io is the largest futures trading community on the planet, with over 90,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors Ė all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you donít need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

Reply
 
Thread Tools Search this Thread
 

Portfolio Trader - help me for this issue

  #1 (permalink)
Trading for Fun
turin italy
 
Futures Experience: Advanced
Platform: metatrader multichart
Favorite Futures: futures
 
Posts: 96 since May 2013
Thanks: 43 given, 4 received

Portfolio Trader - help me for this issue

Hi all,

regarding this portfolio trader signal:

 
Code
                            
VAR:FLAG(FALSE),seconds(0);

pmms_strategies_deny_entries_all;

seconds CurrentTime_s-(CURRENTTIME*100);

IF 
seconds 30 and seconds 40 THEN FLAG TRUE;

IF 
seconds and seconds 20 AND  FLAG TRUE THEN BEGIN
PRINT("hello!");
FLAG=FALSE;
END
How many times do you expect to read "hello" every minutes ?
I can notice a big spam.

Regards
No Erocla

Reply With Quote
 
  #2 (permalink)
Market Wizard
Hamburg Germany
 
Futures Experience: Advanced
Platform: Multicharts, Tradestation, Multicharts.NET, NinjaTrader, MetaTrader
Broker/Data: DTN IQ
Favorite Futures: ES
 
Posts: 1,533 since Apr 2013
Thanks: 231 given, 855 received
Forum Reputation: Legendary

No Erocla,

I don't think you can foresee how many prints you receive as this might depend on the underlying timeframe
and how often your code is executed. Besides you don't use intrabarpersist for a variable that you might try to change within a bar, which can give you an unexpected outcome, too.

Regards,

ABCTG


no erocla View Post
Hi all,

regarding this portfolio trader signal:

 
Code
                            
VAR:FLAG(FALSE),seconds(0);

pmms_strategies_deny_entries_all;

seconds CurrentTime_s-(CURRENTTIME*100);

IF 
seconds 30 and seconds 40 THEN FLAG TRUE;

IF 
seconds and seconds 20 AND  FLAG TRUE THEN BEGIN
PRINT("hello!");
FLAG=FALSE;
END
How many times do you expect to read "hello" every minutes ?
I can notice a big spam.

Regards
No Erocla


Reply With Quote
 
  #3 (permalink)
Trading for Fun
turin italy
 
Futures Experience: Advanced
Platform: metatrader multichart
Favorite Futures: futures
 
Posts: 96 since May 2013
Thanks: 43 given, 4 received


 
Code
                            
IF seconds 30 and seconds 40 THEN FLAG TRUE;


IF 
seconds and seconds 20 AND  FLAG TRUE THEN BEGIN

PRINT("hello!");

FLAG=FALSE;

END
Dear ABCTG,

reading the code, i think that i 've to see printed "hello" just 1 time per minute, it seems logical or i maybe i forgot something else.

Thank you for help
No Erocla

Reply With Quote
 
  #4 (permalink)
 Vendor: tradingcode.net 
The Netherlands
 
Futures Experience: None
Platform: MultiCharts, TradingView
Favorite Futures: ...
 
Jura's Avatar
 
Posts: 774 since Apr 2010
Thanks: 2,347 given, 661 received


no erocla View Post
reading the code, i think that i 've to see printed "hello" just 1 time per minute, it seems logical or i maybe i forgot something else.


ABCTG View Post
I don't think you can foresee how many prints you receive as this might depend on the underlying timeframe and how often your code is executed.

As ABCTG already said, this depends on how often your script calculates. 1 time per minute sounds quite reasonable given your conditions, especially when you're not trading a super-liquid market.

You might want to add the RecalcLastBarAfter() keyword to your script.

Reply With Quote
The following user says Thank You to Jura for this post:
 
  #5 (permalink)
Trading for Fun
turin italy
 
Futures Experience: Advanced
Platform: metatrader multichart
Favorite Futures: futures
 
Posts: 96 since May 2013
Thanks: 43 given, 4 received

Dear Jura, thank you for answer.

I've not specified it because this is a Portfolio trader signal code, so is calculated tick by tick.
For this, i expected just 1 time per minute.

Best regards
No Erocla

Reply With Quote

Reply



futures io > > > > Portfolio Trader - help me for this issue

Thread Tools Search this Thread
Search this Thread:

Advanced Search



Upcoming Webinars and Events (4:30PM ET unless noted)

Jigsaw Trading: TBA

Elite only

FuturesTrader71: TBA

Elite only

NinjaTrader: TBA

Jan 18

RandBots: TBA

Jan 23

GFF Brokers & CME Group: Futures & Bitcoin

Elite only

Adam Grimes: TBA

Elite only

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Portfolio Trader - TimeFrame no erocla MultiCharts 0 December 15th, 2015 12:59 PM
Portfolio Trader - coding money management bluefightingcat MultiCharts 4 September 29th, 2015 03:58 AM
Portfolio Trader live trading no erocla MultiCharts 0 September 24th, 2015 06:03 AM
Portfolio Trader - Set Max Open Position no erocla MultiCharts 32 September 24th, 2015 05:58 AM
Portfolio Trader no erocla MultiCharts 1 November 27th, 2014 11:56 AM


All times are GMT -4. The time now is 01:42 AM.

Copyright © 2017 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
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.
no new posts
Page generated 2017-12-16 in 0.11 seconds with 19 queries on phoenix via your IP 23.22.136.56