Search found 36 matches

by pschriber2
05 Apr 2013
Forum: MultiCharts
Topic: U-Turns for futures
Replies: 1
Views: 1236

U-Turns for futures

Hi, I'm trying to run automation on futures contracts on multiple graphs, but can't seem to do it properly (i.e. it doesn't take an independent count for the broker contracts and doesn't enter short/long correctly). I was looking through the Easy Language Essentials Programming Guide and found somet...
by pschriber2
06 Mar 2013
Forum: MultiCharts
Topic: Signals not filling positions properly
Replies: 1
Views: 1024

Signals not filling positions properly

So I have developed some signals for LE/LX and SE/SX. I find that everything works fine for the most part, but over a odd stretch or two it misses a bunch of bars, and then starts calculating the strategy properly again. For example, say I currently have an current position of 2 long positions and t...
by pschriber2
02 Feb 2013
Forum: MultiCharts
Topic: Issue with Signals
Replies: 3
Views: 1184

Re: Issue with Signals

Thanks for the response TJ.

My code is quite long (30 functions with over 3000 lines) and complex.

But it works fine when use as an indicator.

I'm using TS as my data feed, only testing right now
by pschriber2
02 Feb 2013
Forum: MultiCharts
Topic: Issue with Signals
Replies: 3
Views: 1184

Issue with Signals

So I have developed a strategy that takes both long and short positions. The issue I am having is that when a bar indicates that the market position should be switched from either a short to a long, or a long to a short on the next bar at market, it will close the current position out (cover short o...
by pschriber2
21 Nov 2012
Forum: MultiCharts
Topic: Using ADE in a Strategy
Replies: 5
Views: 2121

Re: Using ADE in a Strategy

Hey Evdl,

I have loaded the 1 minute and 60 minute data through the quotemanager, and also have a indicator on the 1 minute chart to obtain the higher resolution bars that make up the 60 min bar (i.e. what the bar magnifier is doing itself).

However, I still the get the same error issue.
by pschriber2
15 Nov 2012
Forum: MultiCharts
Topic: Issue with the ADE.DeriveBigBar(Interval) function
Replies: 3
Views: 1463

Re: Issue with the ADE.DeriveBigBar(Interval) function

Hey Dave, Here's what the ADE documentation says for ADE.DeriveBigBar() You can use this function to derive higher timeframe bars all the way up to monthly bars. However, if you derive daily, weekly, or monthly bars from intraday bars, you should be aware that the bars will probably not exactly matc...
by pschriber2
13 Nov 2012
Forum: MultiCharts
Topic: Using ADE in a Strategy
Replies: 5
Views: 2121

Re: Using ADE in a Strategy

Thanks for the response evdl. However, I am using a magnifier TF of 1min for a 60 min chart. I already have the data for the 1min chart being stored.
by pschriber2
10 Nov 2012
Forum: MultiCharts
Topic: Issue with the ADE.DeriveBigBar(Interval) function
Replies: 3
Views: 1463

Issue with the ADE.DeriveBigBar(Interval) function

So, I've had success using the ADE.DeriveBigBar function when using intervals of a day or less. However, when I run a chart resolution of 1 day or 1 week and try to derive a monthly chart I keep getting a false value, and thus no data for the weekly or monthly bar. Has anyone else encountered this i...
by pschriber2
10 Nov 2012
Forum: MultiCharts
Topic: Using Multiple ShowME Plots [SOLVED]
Replies: 2
Views: 1254

Re: Using Multiple ShowME Plots [SOLVED]

Thanks TJ. I wanted to run it on one chart so that it would be easier to debug the code rather than monitoring the output text in the PowerLanguage Editor.
by pschriber2
10 Nov 2012
Forum: MultiCharts
Topic: Using Multiple ShowME Plots [SOLVED]
Replies: 2
Views: 1254

Using Multiple ShowME Plots [SOLVED]

I'm calculating a few different strategies within one indicator and would like to be able to display each one on a separate plot (i.e. subplot). Is there a way to do this in MC? As of right now, it just places the plot on top of each other, giving me a cluttered chart that is hard to read/interpret....
by pschriber2
09 Nov 2012
Forum: MultiCharts
Topic: Using ADE in a Strategy
Replies: 5
Views: 2121

Using ADE in a Strategy

Hi, So I've coded a indicator that uses the ADE library, and it works fine. However, when I try to use it as part of a strategy and turn on IOG (Intrabarordergeneration) and the intrabar magnifier I get the following error: Error in study: Error Locations: "EL Collections" Error Category: EL Collect...
by pschriber2
09 Oct 2012
Forum: MultiCharts
Topic: Issue With Conditional Statement Execution
Replies: 8
Views: 1509

Re: Issue With Conditional Statement Execution

So I put a True/False flag within the function that is set to true when conditional statement A is executed. Since my algo was only executing the function in conditional statement A, this flag doesn't get triggered and the function does not execute. It's odd but works.
by pschriber2
09 Oct 2012
Forum: MultiCharts
Topic: Issue With Conditional Statement Execution
Replies: 8
Views: 1509

Re: Issue With Conditional Statement Execution

Never mind, it still doesn't work. I thought it did but I still get the same issue
by pschriber2
09 Oct 2012
Forum: MultiCharts
Topic: Issue With Conditional Statement Execution
Replies: 8
Views: 1509

Re: Issue With Conditional Statement Execution

Thanks TJ. I simplified and seperated my statements and it seems to work.
by pschriber2
09 Oct 2012
Forum: MultiCharts
Topic: Issue With Conditional Statement Execution
Replies: 8
Views: 1509

Re: Issue With Conditional Statement Execution

Hey TJ,

Yes i have walked through all of the permutations but no luck. If I understand properly, Power Language executes the code from Top to Bottom. So it shouldn't be doing this looping thing.
by pschriber2
08 Oct 2012
Forum: MultiCharts
Topic: Issue With Conditional Statement Execution
Replies: 8
Views: 1509

Issue With Conditional Statement Execution

Hi, I wrote some code that is conditional on whether the calculation is for real time data or historical data, and some conditional values. The issue I'm having is that when the values DH=0 and DL = 0 are true, the code executes the second statement (correct). But once it has done that, and changed ...
by pschriber2
21 Sep 2012
Forum: MultiCharts
Topic: ExcelLink Addon [SOLVED]
Replies: 5
Views: 2799

Re: ExcelLink Addon [SOLVED]

And as far as ExcelLink having a command to check if a spreadsheet is open, I'm not aware of any methods to do this. I browsed the documentation but couldn't see anything on it.

Being able to do this would be good since then you would only need one indicator.
by pschriber2
21 Sep 2012
Forum: MultiCharts
Topic: ExcelLink Addon [SOLVED]
Replies: 5
Views: 2799

Re: ExcelLink Addon [SOLVED]

Thanks for the input evdl and acandra. I am aware of the once keyword, but the issue is that I have to add the strategy for each subchart. The once only applies for running the indicator once for each chart, so it doesn't work. I ended up using a method similar to what acanedra described. Which cons...
by pschriber2
20 Sep 2012
Forum: MultiCharts
Topic: ExcelLink Addon [SOLVED]
Replies: 5
Views: 2799

ExcelLink Addon [SOLVED]

I'm trying to use the ExcelLink Addon DLL from FX1.net to transfer data from MultiCharts to Excel. I'm having trouble sending data from multiple Charts, and different time frames. I believe that the ExcelStart( ) function is causing the problem. Since this function is called everytime the indicator ...
by pschriber2
26 Jul 2012
Forum: MultiCharts
Topic: Using SDK in Visual Basic C++ 2010
Replies: 1
Views: 1020

Re: Using SDK in Visual Basic C++ 2010

I was able to fix the error. I forgot to add "no_namespace" after the #import statement.
by pschriber2
26 Jul 2012
Forum: MultiCharts
Topic: Using SDK in Visual Basic C++ 2010
Replies: 1
Views: 1020

Using SDK in Visual Basic C++ 2010

Hi, I'm trying to develop a simple program to perform various operations (add, subtract, divide, multiply). This is just something I'm trying to get a idea of how the whole SDK and PLKit.dll works. I'm getting the following errors: >c:\dlltest\testing\testing\testing.cpp(12): error C2065: 'IEasyLang...
by pschriber2
19 Jun 2012
Forum: MultiCharts
Topic: Intrabar Calculation on Historical Data
Replies: 3
Views: 1117

Re: Intrabar Calculation on Historical Data

Hi Henry,

I am referring to a indicator.
by pschriber2
19 Jun 2012
Forum: MultiCharts
Topic: Intrabar Calculation on Historical Data
Replies: 3
Views: 1117

Intrabar Calculation on Historical Data

I need to peform a intrabar calculation on historical data to see if a new high or low was triggered first. Does anyone know how to do this?

Any help would be appreciated.
by pschriber2
19 Jun 2012
Forum: MultiCharts
Topic: Intrabar Price
Replies: 8
Views: 1909

Re: Intrabar Price

Okay I will try that out. I also noticed that when a trigger has been hit during the playback mode it works fine but when it is applied to historical data the plot doesn't change colour. I am using the close price to compare to new lows and highs within a bar. So when the close bar ends within the p...
by pschriber2
06 Jun 2012
Forum: MultiCharts
Topic: Intrabar Price
Replies: 8
Views: 1909

Re: Intrabar Price

Thanks for the reply guys. I'm trying to use BarStatus (1)=1 and BarStatus (1)=2 to distinguish between the two. For example when checking for a new high compared to the previous bar I'm trying to use the following: if ( (Close > High[1]) and (BarStatus(1) = 1) and (Low > Low[1])) then begin PlotPai...
by pschriber2
05 Jun 2012
Forum: MultiCharts
Topic: Intrabar Price
Replies: 8
Views: 1909

Re: Intrabar Price

Hi thanks for the response. Then how would I able to distinguish with the current close of the security (tick) and the close for the time resolution identified (i.e. 1 day). I need to use different logic on the different closes so is there a way to do this?
by pschriber2
04 Jun 2012
Forum: MultiCharts
Topic: Intrabar Price
Replies: 8
Views: 1909

Intrabar Price

I was wondering how I would reference the current price for a security within a bar for a indicator. The manual only says you can reference the open, close, high and low.
by pschriber2
30 May 2012
Forum: MultiCharts
Topic: Eazy Language Indicator and Signal
Replies: 9
Views: 1944

Re: Eazy Language Indicator and Signal

The entry/exit is supposed to be given by using the crossover/crossunder on the first chart, and confirming it by checking if the bottom chart (data2) confirms this trend. The top chart uses a higher resolution. If both confirm that the faster moving average is above the slower moving average, then ...
by pschriber2
29 May 2012
Forum: MultiCharts
Topic: Eazy Language Indicator and Signal
Replies: 9
Views: 1944

Re: Eazy Language Indicator and Signal

Okay, I will keep that in mind. There still seems to be a issue with the timing of the entry/exit points for the indicators and signals. All of the indicator points seem to be correct now but a few of the signal ones seem to be off. I have attached a labeled screen capture.
by pschriber2
29 May 2012
Forum: MultiCharts
Topic: Eazy Language Indicator and Signal
Replies: 9
Views: 1944

Re: Eazy Language Indicator and Signal

Hey TJ, I was using resolutions of 60 minutes and 1 day. I was able to solve the problem. It had to do with me not explicitly stating which variables were associated with data2. i.e. vars: price1(0,data1), var0(0,data1); var1(0,data1); var2(0,data2); var3(0,data2); var0= MVA(close of data2, length) ...
by pschriber2
28 May 2012
Forum: MultiCharts
Topic: Eazy Language Indicator and Signal
Replies: 9
Views: 1944

Re: Eazy Language Indicator and Signal

Hi yes I did. Some of the buy/exit signs lineup but others are off. For example the short signal is 2 or 3 ticks before the short indicator.
by pschriber2
28 May 2012
Forum: MultiCharts
Topic: Eazy Language Indicator and Signal
Replies: 9
Views: 1944

Eazy Language Indicator and Signal

I'm programming a signal that utilizes two Simple Moving Averages for different time frames to determine the buy/sell decision. I am taking both short and long positions and for some reason I am getting a short signal without any crossover on the shorter time horizon SMA. I was wondering if this iss...
by pschriber2
04 May 2012
Forum: MultiCharts
Topic: FOREX Contract Sizes in Portfolio BackTester
Replies: 3
Views: 1735

Re: FOREX Contract Sizes in Portfolio BackTester

Hi Henry,

When I change the contracts to say 1000, I still only get a cash requirement of around $500. The performance report says it bought 1000 contracts at a price of 1.44485 each, so I can't figure out why it is giving me such a low cash requirment when I'm not leveraging my position.

Thanks
by pschriber2
03 May 2012
Forum: MultiCharts
Topic: FOREX Contract Sizes in Portfolio BackTester
Replies: 3
Views: 1735

FOREX Contract Sizes in Portfolio BackTester

Hi, I was running a backtest for a strategy based on a data stream from Interactive Brokers. However, when I run the backtest and look at the performance report it gives me a large value for number of contracts (>4000) even though the maximum capital I have allocated for trade is $5000. Since ForEx ...
by pschriber2
24 Apr 2012
Forum: MultiCharts
Topic: Using DDE to send data from MultiCharts to Excel
Replies: 8
Views: 1967

Re: Using DDE to send data from MultiCharts to Excel

Thanks. However, from what I've read it's only been truly tested with TS and MT. I have read that it gave some users issues when used with Multicharts because of the multi-threading. Anyone have any issues with ELExcel.dll?
by pschriber2
24 Apr 2012
Forum: MultiCharts
Topic: Using DDE to send data from MultiCharts to Excel
Replies: 8
Views: 1967

Using DDE to send data from MultiCharts to Excel

Hi, I'm trying to send data (i.e. price, signals, indicators, high, etc.) from MultiCharts to an Excel spreadsheet. However, from what I've seen so far, I'm only able to do use a DDE to send data from a broker platform like IB to MultiCharts and then to Excel. Does anyone know if this is possible to...

Go to advanced search