NexusFi: Find Your Edge


Home Menu

 



Showing results 1 to 25 of 27
Search: Posts Made By: Nicolas11
Forum: EasyLanguage Programming August 22nd, 2012, 09:34 AM
Replies: 68
Views: 25,929
Posted By Nicolas11
I'm happy it seems to work. :) "How did you...

I'm happy it seems to work. :)

"How did you discover the intrabarpersist ?"
It is a secret. ;)

Nicolas
Forum: EasyLanguage Programming August 22nd, 2012, 04:52 AM
Replies: 68
Views: 25,929
Posted By Nicolas11
KhaosTrader, Could you test the 2 following...

KhaosTrader,

Could you test the 2 following modifications?

(1) In the Variables declaration, add one intrabarpersist:
intrabarpersist EnterLong ( false ),

(2) At the beginning of "if...
Forum: EasyLanguage Programming August 22nd, 2012, 03:48 AM
Replies: 68
Views: 25,929
Posted By Nicolas11
Seems logical... I copy your code: ...

Seems logical...

I copy your code:


Let's suppose that, at the last tick of the bar (BarStatus = 2), EnterTrade is set to true (first part of the code)
With the 2nd part of the code, you ask...
Forum: EasyLanguage Programming August 22nd, 2012, 02:46 AM
Replies: 68
Views: 25,929
Posted By Nicolas11
Bimi, could you kindly elaborate a little? :)...

Bimi, could you kindly elaborate a little? :) Sounds interesting but I have not caught it.

KhaosTrader, you can use a flag. For instance a boolean AlreadyTradedThisBar that you would set to false...
Forum: EasyLanguage Programming August 20th, 2012, 04:02 AM
Replies: 68
Views: 25,929
Posted By Nicolas11
This is not related any more to the initial...

This is not related any more to the initial subject of this thread ("sell this bar").

So I suggest that you post this new request in the thread...
Forum: EasyLanguage Programming August 20th, 2012, 03:50 AM
Replies: 68
Views: 25,929
Posted By Nicolas11
So... Within all 10-min bars of a given hour...

So...
Within all 10-min bars of a given hour (10:10-11:00), you want to see a trendline showing the High and Low of the previous hour (09:10-10:00).
Correct?
Forum: EasyLanguage Programming August 20th, 2012, 03:23 AM
Replies: 68
Views: 25,929
Posted By Nicolas11
"9am to 10am Highest high was 505.20" What...

"9am to 10am Highest high was 505.20"

What does "Highest High" mean?
The High of this 1-hour bar?
Forum: EasyLanguage Programming August 20th, 2012, 03:12 AM
Replies: 68
Views: 25,929
Posted By Nicolas11
KhaosTrader, 1. You're welcome, but your...

KhaosTrader,

1. You're welcome, but your thanks shall also be directed to Jura: he solved the most difficult part.

2. Even if it is possible, I think that there is no need to use 2 timeframes...
Forum: EasyLanguage Programming August 20th, 2012, 02:41 AM
Replies: 68
Views: 25,929
Posted By Nicolas11
In the last code, we have: if MarketPosition =...

In the last code, we have:
if MarketPosition = 0 and enterlong then begin
Buy ("Enter Long") 300 Shares Next Bar at High stop;
end;

"at High stop" is correct when the above 3-line block of...
Forum: EasyLanguage Programming August 20th, 2012, 02:32 AM
Replies: 68
Views: 25,929
Posted By Nicolas11
Actually, there is still something to be fixed in...

Actually, there is still something to be fixed in "at High stop". Should be "High or High[1]".

EDIT: in the below picture, the entry circled in blue shoud not exist....
Forum: EasyLanguage Programming August 20th, 2012, 02:29 AM
Replies: 68
Views: 25,929
Posted By Nicolas11
KhaosTrader, First, I managed to reproduce...

KhaosTrader,

First, I managed to reproduce your problem, on the same chart (AAPL 1min July 26th, 2012).

From Jura's post above, I understand that, when [IntrabarOrderGeneration = true], "at...
Forum: EasyLanguage Programming August 19th, 2012, 03:49 PM
Replies: 68
Views: 25,929
Posted By Nicolas11
KhaosTrader, If I have correctly understood...

KhaosTrader,

If I have correctly understood what you are trying to do, this is not straight-forward.
I have myself struggled with it for a long time.
So thanks for your question, since it allows...
Forum: EasyLanguage Programming August 19th, 2012, 03:25 PM
Replies: 68
Views: 25,929
Posted By Nicolas11
KhaosTrader, Could you confirm your...

KhaosTrader,

Could you confirm your condition to enter long ? Is it what follows?

If "Low >= Low[1] and High >= High[1]" then enter at any moment within the next bar when the price reaches the...
Forum: EasyLanguage Programming August 19th, 2012, 02:35 PM
Replies: 68
Views: 25,929
Posted By Nicolas11
For the date, do not forget that 112 means 2012...

For the date, do not forget that 112 means 2012 in Easy Language (add 1900).

The text printing on the chart is OK. We see the "0". When the trade lasts on several bars, you should see 300, 200,...
Forum: EasyLanguage Programming August 19th, 2012, 02:11 PM
Replies: 68
Views: 25,929
Posted By Nicolas11
KhaosTrader, 1. The 1-min workaround is...

KhaosTrader,

1. The 1-min workaround is another story. I think that we first need to solve what happens with the 1-hour bar.

2. "I cant decipher the time". I do not understand. Could you show...
Forum: EasyLanguage Programming August 19th, 2012, 01:03 PM
Replies: 68
Views: 25,929
Posted By Nicolas11
Please use the [ CODE] tags around your code next...

Please use the [ CODE] tags around your code next time. :)

I still cannot reproduce the problem on my side.

And the problem seems to evolve on your side.
On your last screenshot, the problem...
Forum: EasyLanguage Programming August 19th, 2012, 12:28 PM
Replies: 68
Views: 25,929
Posted By Nicolas11
Please post the code. Otherwise, how could we...

Please post the code. Otherwise, how could we analyze?
Forum: EasyLanguage Programming August 19th, 2012, 12:17 PM
Replies: 68
Views: 25,929
Posted By Nicolas11
Looks OK. I cannot reproduce your problem on my...

Looks OK.
I cannot reproduce your problem on my computer, so it is difficult for me to help you.
I suggest that you replace all "at st1", "at st2" and "at st3" by "at EntryPrice-0.75" for long and...
Forum: EasyLanguage Programming August 19th, 2012, 12:07 PM
Replies: 68
Views: 25,929
Posted By Nicolas11
OK. And what is the value of StopSize? Not...

OK.
And what is the value of StopSize?
Not the one in your code.
But the one in the inputs of the strategy in MultiCharts "Format Signal".
Forum: EasyLanguage Programming August 19th, 2012, 12:02 PM
Replies: 68
Views: 25,929
Posted By Nicolas11
When you ask the code to print TickSize, which...

When you ask the code to print TickSize, which value of TickSize does it print?
Forum: EasyLanguage Programming August 19th, 2012, 11:48 AM
Replies: 68
Views: 25,929
Posted By Nicolas11
I think that the previous trade is not closed. ...

I think that the previous trade is not closed.
You are still long 100 contracts.
Forum: EasyLanguage Programming August 19th, 2012, 11:05 AM
Replies: 68
Views: 25,929
Posted By Nicolas11
Without having checked, I would say that it is...

Without having checked, I would say that it is not possible to change the default setting, and that you have to check each time you add a strategy. But I may be wrong.

Nicolas
Forum: EasyLanguage Programming August 19th, 2012, 10:48 AM
Replies: 68
Views: 25,929
Posted By Nicolas11
I have the feeling that the code does exactly...

I have the feeling that the code does exactly what you ask it to do. ;)

if CurrentShares = 300 then begin

print ("*********barstatus at exit commands = " + NumToStr(barstatus(1),0));
...
Forum: EasyLanguage Programming August 19th, 2012, 10:32 AM
Replies: 68
Views: 25,929
Posted By Nicolas11
"now ALL entries are on the bar" You mean:...

"now ALL entries are on the bar"

You mean: all exits?
Is it still the same code as above?
Could you post a chart showing the problem?
Forum: EasyLanguage Programming August 19th, 2012, 10:15 AM
Replies: 68
Views: 25,929
Posted By Nicolas11
Could you check the parameters below in the...

Could you check the parameters below in the "Format" of your signal?

https://nexusfi.com/attachment.php?attachmentid=85653
Showing results 1 to 25 of 27

What unexpected challenges have you encountered while trading on a "Funded Trader" platform?

 


 
 


© 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