NexusFi: Find Your Edge


Home Menu

 



Showing results 1 to 25 of 38
Search: Posts Made By: KhaosTrader
Forum: EasyLanguage Programming August 22nd, 2012, 09:38 AM
Replies: 68
Views: 25,857
Posted By KhaosTrader
LOL well, you are really good at easylanguage, I...

LOL well, you are really good at easylanguage, I doubt I would have found that.

Thanks :)
Forum: EasyLanguage Programming August 22nd, 2012, 09:32 AM
Replies: 68
Views: 25,857
Posted By KhaosTrader
I think its working :) I will test it...

I think its working :)

I will test it more...

How did you discover the intrabarpersist ?

Thanks Nicolas!
Forum: EasyLanguage Programming August 22nd, 2012, 03:56 AM
Replies: 68
Views: 25,857
Posted By KhaosTrader
I see your point.... I then moved the...

I see your point....

I then moved the "EnterTrade = false;" to the "if marketposition =1 then begin...

if MarketPosition = 1 then begin
EnterTrade = false;
st1 = EntryPrice - (stopsize *...
Forum: EasyLanguage Programming August 22nd, 2012, 03:43 AM
Replies: 68
Views: 25,857
Posted By KhaosTrader
Oh on the Strategy, I set the following: *...

Oh on the Strategy, I set the following:

* Allow unlimited entries per bar

* Backtesting Precision : Use Bar Magnifier [checked], Intraday=1 minutes, Skip ticks with identical prices [checked]
Forum: EasyLanguage Programming August 22nd, 2012, 03:40 AM
Replies: 68
Views: 25,857
Posted By KhaosTrader
Nicolas, I implemented your suggestion by...

Nicolas,

I implemented your suggestion by setting the flag, EnterTrade = false.. But now it wont enter all trades it should.. Here is the screenshot....
...
Forum: EasyLanguage Programming August 21st, 2012, 09:26 PM
Replies: 68
Views: 25,857
Posted By KhaosTrader
Here is the chart where I point out the problem,...

Here is the chart where I point out the problem, and the code...

https://nexusfi.com/attachment.php?attachmentid=86072

(I commented out the short entries because I want to make sure longs work...
Forum: EasyLanguage Programming August 21st, 2012, 08:33 PM
Replies: 68
Views: 25,857
Posted By KhaosTrader
Another idea might be to identify the current bar...

Another idea might be to identify the current bar time, and make sure it wont enter again on the same bar?
Forum: EasyLanguage Programming August 21st, 2012, 08:16 PM
Replies: 68
Views: 25,857
Posted By KhaosTrader
Hi, I discovered a problem with the current...

Hi, I discovered a problem with the current implementation.

It is possible for there to be more than one entry in a given bar, that means that if in a given hourly bar, the code enters a trade and...
Forum: EasyLanguage Programming August 20th, 2012, 04:08 AM
Replies: 68
Views: 25,857
Posted By KhaosTrader
Ok sounds good. I will make the new post.

Ok sounds good. I will make the new post.
Forum: EasyLanguage Programming August 20th, 2012, 03:58 AM
Replies: 68
Views: 25,857
Posted By KhaosTrader
The way I envision it is that the code will...

The way I envision it is that the code will determine how many bars in the given time frame make up an hour, and then it will iterate through the bars to find the highest high and lowest low. That...
Forum: EasyLanguage Programming August 20th, 2012, 03:56 AM
Replies: 68
Views: 25,857
Posted By KhaosTrader
Yes that is correct.

Yes that is correct.
Forum: EasyLanguage Programming August 20th, 2012, 03:34 AM
Replies: 68
Views: 25,857
Posted By KhaosTrader
Thank you Jura for your help on this! Much...

Thank you Jura for your help on this! Much appreciated!
Forum: EasyLanguage Programming August 20th, 2012, 03:30 AM
Replies: 68
Views: 25,857
Posted By KhaosTrader
Since we are using a 10 minute chart, it would...

Since we are using a 10 minute chart, it would look at the 6 bars from 9am to 10am and look for the highest and lowest price that the bars touched during that time.

9:10 Bar: High=500.10 Low =...
Forum: EasyLanguage Programming August 20th, 2012, 03:21 AM
Replies: 68
Views: 25,857
Posted By KhaosTrader
Nicolas, Ok, lets do a walkthrough example: ...

Nicolas,

Ok, lets do a walkthrough example:

9am to 10am Highest high was 505.20 Lowest Low was 502.30
10am to 11am Highest high was 506.20 Lowest Low was 503.50

Therefore, if we were in...
Forum: EasyLanguage Programming August 20th, 2012, 03:04 AM
Replies: 68
Views: 25,857
Posted By KhaosTrader
Nicolas, Yes that is correct. It works...

Nicolas,

Yes that is correct. It works now... You are correct that we need to store the PriceForEntry in a variable.... Thanks so much!


Because I would like to make sophisticated stops, it...
Forum: EasyLanguage Programming August 19th, 2012, 08:10 PM
Replies: 68
Views: 25,857
Posted By KhaosTrader
Here is a 1 minute chart that shows the problem. ...

Here is a 1 minute chart that shows the problem.

Also I fixed up the print share size logic so it looks nicer on the chart, I also divided the share size by 3 so it shows it as one numeric...
Forum: EasyLanguage Programming August 19th, 2012, 06:52 PM
Replies: 68
Views: 25,857
Posted By KhaosTrader
sorry... the phrase "I used 1 dollar hardcoded...

sorry... the phrase "I used 1 dollar hardcoded for entrypice and exit price, since i am trading aapl."

should be " i used 1 dollar hardcoded from entry price for both stop and target since i am...
Forum: EasyLanguage Programming August 19th, 2012, 06:50 PM
Replies: 68
Views: 25,857
Posted By KhaosTrader
Ok, I implemented the code you are...

Ok,

I implemented the code you are suggesting.. I agree its a good idea to make it as simple as possible to figure out the problem.

Here is the chart with circled red where it should have...
Forum: EasyLanguage Programming August 19th, 2012, 02:39 PM
Replies: 68
Views: 25,857
Posted By KhaosTrader
Ok thanks Nicolas, I am here whenever you are...

Ok thanks Nicolas, I am here whenever you are ready :).

Thanks again for your help :)
Forum: EasyLanguage Programming August 19th, 2012, 02:32 PM
Replies: 68
Views: 25,857
Posted By KhaosTrader
ah the date format i get now.. 1120817 1600 ,...

ah the date format i get now.. 1120817 1600 , 1600 is the hour, and the other part is the date, got it :)
Forum: EasyLanguage Programming August 19th, 2012, 02:29 PM
Replies: 68
Views: 25,857
Posted By KhaosTrader
1) ok I understand 2) 1120817 , how is this...

1) ok I understand

2) 1120817 , how is this translated into time?

3) ok i put that in the code, and i have enclosed screenshot

4) i want to enter in the next bar, once it breaks the high of...
Forum: EasyLanguage Programming August 19th, 2012, 01:19 PM
Replies: 68
Views: 25,857
Posted By KhaosTrader
What it would do is create a high and a low...

What it would do is create a high and a low horizontal trendline for the next hour... and it would keep doing that moving forward

so each prior rounder prior hour would have a high and a low...
Forum: EasyLanguage Programming August 19th, 2012, 01:15 PM
Replies: 68
Views: 25,857
Posted By KhaosTrader
Nicolas, I need the " BarStatus(1) = 2"...

Nicolas,

I need the " BarStatus(1) = 2" because I want to enter on the next bar on the break of the prior bar high...

I entered the
print(Date:8:0," ", Time:4:0, " --> CurrentShares = ",...
Forum: EasyLanguage Programming August 19th, 2012, 12:42 PM
Replies: 68
Views: 25,857
Posted By KhaosTrader
ok i hardcoded stops, and here is the code, and...

ok i hardcoded stops, and here is the code, and it should have entered in the circle area but it didnt

https://nexusfi.com/attachment.php?attachmentid=85668


code:


inputs:
target1 (50),
Forum: EasyLanguage Programming August 19th, 2012, 12:25 PM
Replies: 68
Views: 25,857
Posted By KhaosTrader
it looks like the stop is not getting triggered,...

it looks like the stop is not getting triggered, check this out... if i expand the chart..
https://nexusfi.com/attachment.php?attachmentid=85662
Showing results 1 to 25 of 38

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