Import indicator from .txt - MultiCharts | futures io social day trading
futures io futures trading


Import indicator from .txt
Updated: Views / Replies:619 / 2
Created: by wtrader 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
 

Import indicator from .txt

  #1 (permalink)
Trading Apprentice
Turin Italy
 
Futures Experience: Intermediate
Platform: Multicharts
Favorite Futures: Bonds
 
Posts: 6 since Dec 2011
Thanks: 1 given, 1 received

Import indicator from .txt

Hi all, i need to import one indicator from external txt, someone know is should be possible?

to test it i have created one export that can be applied to any chart to export a simple ATR indicator:
 
Code
inputs:
	ATRLength( 14 ),
	AlertLength( 14 ) ;

variables:
	var0( 0 ) ;

var0 = AvgTrueRange( ATRLength ) ;

Plot1( var0, "ATR" ) ; 

                  
condition1 = HighestBar( var0, AlertLength ) = 0 ;
if condition1 then
	Alert( "Indicator at high" ) 
else 
begin 
condition1 = LowestBar( var0, AlertLength ) = 0 ;
if condition1 then
	Alert( "Indicator at low" ) ;
end;
Print (File("C:\Temp\mytextfile.txt"),Numtostr( var0 , 4));


after that i create one import code, to test if the results was the same:



 
Code
var: MyATR (0),listid(0);

listid=Listn.New;


 value1 = Listn.Readfile(listid,"C:\Temp\mytextfile.txt");     
   
   
  Value2 = Listn.Get(Listid,barnumber);
  
 Print("ATR = ", Listn.Get(ListID, barnumber), " ", barnumber);

//Plot1(Lists.Get(ListID, barnumber), "ATR",Blue);
(plot is with comment to test print before)

i got no error from that code, but MC print just half of line correctly and after stop and put the indicator off.

someone should know why?

thank you so much.
walter

Reply With Quote
The following user says Thank You to wtrader for this post:
 
  #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

walter,

did you use the same chart for your export and import? You also need to make sure that the "Max number of bars study will reference" is exactly the same. Otherwise your barnumber variable will have different values on the same bar.

Regards,
ABCTG

Reply With Quote
The following 2 users say Thank You to ABCTG for this post:
 
  #3 (permalink)
Trading Apprentice
Turin Italy
 
Futures Experience: Intermediate
Platform: Multicharts
Favorite Futures: Bonds
 
Posts: 6 since Dec 2011
Thanks: 1 given, 1 received


Thanks ABCTG for your kind reply.

yes of course i did the test with the same export/import chart.

i will check also the "Max number of bars study will reference", but i'm not shure have influence..

thank you

Reply With Quote

Reply



futures io > > > > Import indicator from .txt

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
Indicator import error!! Joseph689 NinjaTrader 5 December 2nd, 2012 03:10 PM
Haw many Indicator can we import ? zoom NinjaTrader 9 November 8th, 2012 08:09 PM
import indicator buufstik MetaTrader 2 February 25th, 2012 04:35 PM
GomMP indicator import help traderbaker NinjaTrader Programming 3 August 13th, 2011 03:27 PM
problem with reading data from txt file Altas NinjaTrader Programming 2 May 11th, 2011 05:29 PM


All times are GMT -4. The time now is 06:06 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-17 in 0.08 seconds with 19 queries on phoenix via your IP 54.82.81.154