Home
Search Forums
Keywords:
Search Titles Only
User Name:
Exact Match
Show Results As:
Advanced Options
Reply
 
Thread Tools Search this Thread
  #391  
Old Nov 4, 2009 2:41am
Member
 
Member Since Feb 2008
Question

Quote:
Originally Posted by LastViking View Post
I wrote an dumy EA some time a goe that just printed a log file with bid ws Close[0] over a couple of hours. It turns out that thay are not always the same if I just uncheck the "offline chart" checkbox. Mening that the EA will sometimes (but not always...) get called before the chart gets updated.
(I got suspicious because my "soft stop loss" EA fired of at the wrong price, one point off, from time to time)

Maybe not a big issue, but since there is a fix posted in Lou's Trading Renko thread I thought that I can just as well make it official....
LastViking there seems to be a problem when applying EA's to the renko chart. I've read this entire thread and it seems a few ppl are also having problems with EA's.. I've tried unchecking "offline chart" in the properties window and sometimes it gets through a few more functions or maybe im just dreaming..

Ive added a Print(); statement into all of my functions to see where the EA gets hung up but im still not able to find the problem..

I was thinking it may be a problem when using Time[0] to check for next renko box before a new trade is allowed but im not positive thats the problem either..

I commented out case 5:
Code:
    switch(RenkoTimeFrame) {
        case 1: /*case 5:*/ case 15: case 30: case 60: case 240:
        case 1440: case 10080: case 43200: case 0:
so that i can replace my 5m data with renko data and run my EA in the strategy tester, and it runs fine.. So that narrows it down to RenkoLiveChart_v3.2 causing the EA to hang on the offline chart..

Is there a possible bug or is there some function/statement that i can not use in my EA? i'm on a 24 hour day trying to figure this out, so any help is much appreciated!

Edit: also i was thinking maybe there is a problem with the symbols properties for the 2m offline chart.. i dont really know because i dont know much about the inner workings of that.. just a thought?¿?
Reply With Quote
  #392  
Old Nov 4, 2009 1:43pm
Member
 
Member Since Aug 2009
Default

Quote:
Originally Posted by gmax111 View Post
LastViking there seems to be a problem when applying EA's to the renko chart. I've read this entire thread and it seems a few ppl are also having problems with EA's.. I've tried unchecking "offline chart" in the properties window and sometimes it gets through a few more functions or maybe im just dreaming..
You can try seting EmulateOnLineChart = false + unchecking "offline chart". It vill make v3.2 work like the older vesioins did. I can't really say that I think it vill make mush of a diference, but maybe worth a try.

(Also, if you do this you can't rely on Time[0] in your EA for cheking a for new bar. Because start() in your EA vill be executed before the renko chart is updated.)

Quote:
Originally Posted by gmax111 View Post
I was thinking it may be a problem when using Time[0] to check for next renko box before a new trade is allowed but im not positive thats the problem either..
Should work in v3.2 then EmulateOnLineChart = true and "offline chart" cheked, but not in the older vesions. (Please observ that Time[0] is the opening time of the bar, so it vill not change unless a new box is created.)

Quote:
Originally Posted by gmax111 View Post
Edit: also i was thinking maybe there is a problem with the symbols properties for the 2m offline chart.. i dont really know because i dont know much about the inner workings of that.. just a thought?¿?
You can try StrangeSymboleName = true, but I doubt I vill help mush.

Sorry that I can't give you more help. But I really have no clue about what is going wrong. Hard to fix problems then I can't recrate them on my own computer.

Anyway, almost everyone that have hade truble with EA's have just forget about unchecking "offline chart" in pre. v3.2, alowing live trading (both on the M1 chart and the Renko chart) or DLL calls or something like that, but it dose not sound like thats what causing your problem.

/LV
__________________
Chaos always defeat order, because it's better organized...
Reply With Quote
  #393  
Old Nov 5, 2009 10:21am
Only one user name...
 
Member Since May 2006
4 Vouchers  551 Posts
Default

Quote:
Originally Posted by gmax111 View Post
LastViking there seems to be a problem when applying EA's to the renko chart. I've read this entire thread and it seems a few ppl are also having problems with EA's.. I've tried unchecking "offline chart" in the properties window and sometimes it gets through a few more functions or maybe im just dreaming..

Ive added a Print(); statement into all of my functions to see where the EA gets hung up but im still not able to find the problem..

I was thinking it may be a problem when using Time[0] to check for next renko box before a new trade is...
You may have a conflict when using M5 on a live server. MT4 will try to update your online chart with M5 data when the chart is actually not M5. Try this:

http://www.forexfactory.com/showpost...81&postcount=2
__________________
Old Benjamin was right
Reply With Quote
  #394  
Old Nov 5, 2009 1:11pm
Member
 
Member Since Jun 2009
Default

I have a problem using trendmagic.

Renko1 is the moment when I put the indicator.

Renko2 shows what happens after 3 blocks.

The indicator walks on the chart and don't follow the market.

I have the same problem also using moving average and CCI.

What did I do wrong?
Attached Thumbnails
Click image for larger version

Name:	renko1.jpg
Views:	38
Size:	68.8 KB
ID:	355164     Click image for larger version

Name:	renko2.jpg
Views:	29
Size:	70.3 KB
ID:	355165    
Reply With Quote
  #395  
Old Nov 6, 2009 2:15am
Autotrade and enjoy life.
 
Member Since Sep 2006
Default Off-line charts FAQ

Quote:
Originally Posted by Pipsnator View Post
I have a problem using trendmagic.

Renko1 is the moment when I put the indicator.

Renko2 shows what happens after 3 blocks.

The indicator walks on the chart and don't follow the market.

I have the same problem also using moving average and CCI.

What did I do wrong?
This and more question is answered in my Off-line charts FAQ document.
Attached Files
File Type: pdf Off-line charts FAQ.pdf (70.8 KB, 46 views)
__________________
Lot of pips in black,

Michal
Reply With Quote
  #396  
Old Nov 6, 2009 10:06am
Member
 
Member Since Jun 2009
Default

Quote:
Originally Posted by aktur View Post
This and more question is answered in my Off-line charts FAQ document.
Thank you. Now works
Reply With Quote
  #397  
Old Nov 6, 2009 2:20pm
Member
 
Member Since Feb 2008
Default

Quote:
Originally Posted by Lou G View Post
You may have a conflict when using M5 on a live server. MT4 will try to update your online chart with M5 data when the chart is actually not M5. Try this:

http://www.forexfactory.com/showpost...81&postcount=2

The problem is not in the backtester the problem is trading an EA on live feed..

But now this post brings up another question.. How can i get v3.2 to run as a script so i can get backtest-able data with the wicks.. it is very difficult to get v3.2 to create data that works in the backtester when its run as an EA..
Reply With Quote
  #398  
Old Nov 7, 2009 9:33am
Only one user name...
 
Member Since May 2006
4 Vouchers  551 Posts
Default

Quote:
Originally Posted by gmax111 View Post
The problem is not in the backtester the problem is trading an EA on live feed..

But now this post brings up another question.. How can i get v3.2 to run as a script so i can get backtest-able data with the wicks.. it is very difficult to get v3.2 to create data that works in the backtester when its run as an EA..
I'm not quite sure I understand what you are asking. If you want to create new offline charts on the weekend when no ticks are coming in, the EA is a problem.

What I do is make sure that I have created any charts I will need on the weekend before the market closes on Friday.

You could also search this thread for a post containing a script that simulates an incoming tick. That should force v3.2 to create a chart. I'm not sure of the spelling of the name of the member who posted it but I'll look for it and get back to you.
__________________
Old Benjamin was right
Reply With Quote
  #399  
Old Nov 7, 2009 10:00am
Only one user name...
 
Member Since May 2006
4 Vouchers  551 Posts
Default

Quote:
Originally Posted by Lou G View Post
I'm not quite sure I understand what you are asking. If you want to create new offline charts on the weekend when no ticks are coming in, the EA is a problem.

What I do is make sure that I have created any charts I will need on the weekend before the market closes on Friday.

You could also search this thread for a post containing a script that simulates an incoming tick. That should force v3.2 to create a chart. I'm not sure of the spelling of the name of the member who posted it but I'll look for it and get back to you.
The attached script (thanks to Hayseed) will simulate an incoming tick so you can create offline charts with v3.2 when the market is closed.

I hope this helps.
Attached Files
File Type: mq4 JumpStart.mq4 (809 Bytes, 36 views)
__________________
Old Benjamin was right
Reply With Quote
  #400  
Old Nov 8, 2009 4:39am
draco76x's Avatar
Member
 
Member Since Jan 2009
Default

Just want to find out, will this Renko's script, EA & indicator be written for MT5??
Reply With Quote
  #401  
Old Nov 8, 2009 6:21am
Junior Member
 
Member Since Nov 2009
Default problem with 5digit help!!!!

Hi Fella

I have been watching this thread carefully and i am pleasantly impressed, anyway i am having some minor issues in applying v1.3 to 1.6 on my 5digit broker platform here is the problem below

1: My broker runs a four digit and 5 digit decimals . i use the 5 digit because it is direct ECN execution. When i apply the renko script on m1 5dgt chart and open offline chart, it only applies renko to four digit chart as oppoesed to 5 digit chart.
2: i have already tried changing pips value in script e.g to say 100 as opposed to 10 still no success.


So will any of you clever folks have any clever ideas on how to overcome this problem


i already trade renko for over 3 years as pro trader. Bags loads of pips you do not need any other indicators on your chart just support and resistance & MA3 and you are up and running..........DO NOT CLUTTER THE MIND

Regards

Carterr
Reply With Quote
  #402  
Old Nov 8, 2009 2:56pm
Member
 
Member Since Feb 2008
Default

Quote:
Originally Posted by Lou G View Post
I'm not quite sure I understand what you are asking. If you want to create new offline charts on the weekend when no ticks are coming in, the EA is a problem.

What I do is make sure that I have created any charts I will need on the weekend before the market closes on Friday.

You could also search this thread for a post containing a script that simulates an incoming tick. That should force v3.2 to create a chart. I'm not sure of the spelling of the name of the member who posted it but I'll look for it and get back to you.
When you run the EA or script it creates *.hst files which contain the renko blocks.. I've modded the EA(v3.2) to allow creating the renko blocks in a M5 *.hst file.. then i can disconnect from the broker server move the hst file to pseudo broker folder(inside the MT4>history folder) and run that M5 hst file in the backtester(just like the instructions you linked in your last post).. the problem with the renko EA's is that you need to have an incoming tick in order for the start function to run and create the renko data.. and so the next problem is that m5 data is also coming in and i think this is corrupting the m5 renko charts. <--but im not positive this is the reason the m5 chart is corrupt or not able to run in the strategy tester..
When i select the m5 offline chart from File>Open Offline, it will show the renko blocks. But when selected from the strategy tester, the chart pops up, shows the renko blocks, begins to load the data(says "Using M5") then the screen goes black shows "Waiting for Update" and the tester reports error "No history data [m5]" or something to that effect.
But on a rare occasion i can get it to work. I've repeatedly done this in every order possible but i can not figure out why sometimes it works and sometimes it doesnt.. It seems completely hit or miss.

When i use the commercial script or the script from this thread it seems to work just like you have posted in the instructions from your previous post.
The only problem with the previous scripts and the commercial script is that there is no wicks created on the bars so backtesting is less accurate.

Im going to try the jumpstart thing you've posted here while disconnected from the broker, and see how that goes. I know this all may sound very confusing because you really haven't gone through this with me and seen the problems im referring too.. maybe if someone else is trying to create backtest-able m5 data they may have some input on what im talking about.

PS - thanks so much for your help so far..
Reply With Quote
  #403  
Old Nov 8, 2009 2:59pm
Member
 
Member Since Feb 2008
Default

Quote:
Originally Posted by draco76x View Post
Just want to find out, will this Renko's script, EA & indicator be written for MT5??

Im really hoping MT5 will have other types of selectable charts(renko, and maybe P&F charts) so we dont need to go through this..
Reply With Quote
  #404  
Old Nov 8, 2009 9:00pm
MurphyMan's Avatar
Rule #1... Don't lose your pips
 
Member Since Sep 2009
Default Candles on bricks not wanted

I've just got my commercial version of Renko started (now 60 EUR, BTW). For some reason, I'm getting candles on my leading brick. I also noticed that the leading brick can be longer than all of the preceding bricks. Why is happening this and is it normal?

Please take a look at the chart and let me know what you think.

FXDD, 5 digit broker
smRanko_Signals_v1
MA in Color_wAppliedPrice

Thanks.
Attached Thumbnails
Click image for larger version

Name:	renko with bad candle.gif
Views:	25
Size:	29.1 KB
ID:	356349    
Reply With Quote
  #405  
Old Nov 9, 2009 3:12am
Autotrade and enjoy life.
 
Member Since Sep 2006
Default

Quote:
Originally Posted by draco76x View Post
Just want to find out, will this Renko's script, EA & indicator be written for MT5??
Probably not in the same way as MT5 has no off-line chart possibilities.
__________________
Lot of pips in black,

Michal
Reply With Quote
Reply

1 Trader Viewing This Thread (0 are members)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sticky Renko Charts mathematician Programming Discussion 2 Nov 12, 2009 9:49am
renko charts problem Gambler180 Programming Discussion 10 Aug 25, 2009 12:55pm
IceKid on the Block icekid Trading Journals 1 May 29, 2009 3:51am
Block Trading? Ronald Raygun Trading Discussion 3 Jul 9, 2008 12:29pm