Search found 13 matches

by pablo
20 Mar 2018 13:37
Forum: WHS NANOTRADER - EXPRESS PROGRAMMING
Topic: "E21: For-Loop is probably infinite"
Replies: 7
Views: 9998

Re: "E21: For-Loop is probably infinite"

//second part Here's the code for calculating Span Bars one by one: Range_Bars_Bypass.txt So the actual Span of 100 points (200 Ticks) bar is NEVER smaller than 100 points: all: DAX 200T range.jpg recent days: DAX 200T recent.jpg This sentimentor is acctually only the base for calculating strategy -...
by pablo
20 Mar 2018 13:15
Forum: WHS NANOTRADER - EXPRESS PROGRAMMING
Topic: "E21: For-Loop is probably infinite"
Replies: 7
Views: 9998

Re: "E21: For-Loop is probably infinite"

Hi Iris, The problem I am touching right now is way more severe than just time needed to calculate the express code. I would never go into trouble to write the complicated code just for fun. But I am forced to, because when building Span Bars, Nano Trader cheats and give user false results. Using 0,...
by pablo
08 Mar 2018 09:54
Forum: WHS NANOTRADER - EXPRESS PROGRAMMING
Topic: "E21: For-Loop is probably infinite"
Replies: 7
Views: 9998

Re: "E21: For-Loop is probably infinite"

WHS Support, Dominic

Any solution how to disable the warning? Or change the 5 second limit to higher number?

Pablo
by pablo
07 Mar 2018 12:19
Forum: Express codes & tools
Topic: Mogalef tools for DAX trading system
Replies: 3
Views: 20995

Re: Mogalef tools for DAX trading system

Eric,

Your equity lines look very good.
Can you show more statistics for the strategy?

regards

Pablo
by pablo
02 Mar 2018 10:26
Forum: WHS NANOTRADER - EXPRESS PROGRAMMING
Topic: "E21: For-Loop is probably infinite"
Replies: 7
Views: 9998

Re: "E21: For-Loop is probably infinite"

Dominic, I understand that in live trading it is not acceptable. And from what I noticed Express code is not running anymore, because sentimnetor gets deactivated. Let's say I want to run backtest on 5 years of 1 minute bars. It will probably be around 1 500 000 bars. I accept that time needed to ca...
by pablo
27 Feb 2018 22:05
Forum: WHS NANOTRADER - EXPRESS PROGRAMMING
Topic: "E21: For-Loop is probably infinite"
Replies: 7
Views: 9998

"E21: For-Loop is probably infinite"

Hi, I have a problem with running Express code on large portion of data. Up to approximately 150 000 bars on chart it works fine, but above that I get "E21: For-Loop is probably infinite". I assume that there is some kind of "security" switch that triggers above certain number of iterations - how do...
by pablo
31 Dec 2016 14:46
Forum: WHS NANOTRADER - EXPRESS PROGRAMMING
Topic: settriggerlong- where exactly for existing sentimentor
Replies: 3
Views: 3728

Re: settriggerlong- where exactly for existing sentimentor

Hi Davex, I have the same problem with SetLong/ShortTrigger. How did you get it to work? Below is my code. It seems OK, but it does not send conditional orders. Even with all order settings that are in manual. Express HLV_trigger Vars series LHV,LLV,SHV,SLV; input $LongPeriod(1,100,34); input $short...
by pablo
02 Sep 2016 19:32
Forum: WHS NANOTRADER - EXPRESS PROGRAMMING
Topic: Re-open blocker
Replies: 0
Views: 2808

Re-open blocker

Hi, Using "filter" function I tried to block re-opening position in Turttle Strategy (breakout above/below high/low of "X" number of bars). I wanted to use MarketPosition() function in such a way: if MarketPosition[1] = 1 then sentiment = sentiblock; //block reopening long position when take profit ...
by pablo
29 Oct 2014 21:08
Forum: WHS NANOTRADER - EXPRESS PROGRAMMING
Topic: Adaptive Period for indicator
Replies: 8
Views: 6058

Re: Adaptive Period for indicator

Hi, Thx for the code. Can I see how you compute your RSI? Are you using built-in formula? Here's code for cycle period I use. To me it seems easier to interpret than the one you are showing. It comes from site I mentioned above. Express Hilbert_Period Vars ///// Cycle Period Indicator by John Ehlers...
by pablo
27 Oct 2014 15:05
Forum: WHS NANOTRADER - EXPRESS PROGRAMMING
Topic: Adaptive Period for indicator
Replies: 8
Views: 6058

Re: Adaptive Period for indicator

Hi, From your chart I understand that it can be done. I was hoping, that built-in functions can work with variable periods. I assume, they can't. I am not a programmer so The Digital Signal Processor (DSP) algorithm does not ring a bell for me :) I can go down to RSI formula and moving averages form...

Go to advanced search