Forex
Google
New signals service!

Go Back   Forex Trading > Discussion Areas > Suggestions for Trading Systems


Register in Forex TSD!
Trading Systems Leaders in this forum (automated trading systems) are winning more than 3000 pips in a month (30000$ investing one lot every time).
Click here to register and get more information

Reply
 
LinkBack Thread Tools Display Modes
  #11 (permalink)  
Old 06-22-2008, 06:46 AM
PyeR2's Avatar
Member
 
Join Date: Jan 2008
Posts: 37
PyeR2 is on a distinguished road
It Does The Job

Quote:
Originally Posted by igorad View Post
Try to use this one.
Well done Igorad, I have applied the indicator to charts and checked for accuracy, I found no errors. It is 100% marking the correct candles.
My only complaint is that it doesn't 'look pretty' when applied to a candlestick chart.
Would it be possible reconfigure so that the whole candle can be re-coloured instead of just centre bar? If it's too much trouble I understand. Cheers.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #12 (permalink)  
Old 06-24-2008, 10:09 AM
PyeR2's Avatar
Member
 
Join Date: Jan 2008
Posts: 37
PyeR2 is on a distinguished road
Sorry, I found a couple of bugs

Quote:
Originally Posted by igorad View Post
Try to use this one.
Hi Igorad,
unfortunately I have found a couple of bugs with the Custom Indicator you posted.

Firstly it only works on EUR/USD, GBP/USD, USD/CHF and does not not work on many others such as all JPY crosses, AUD/USD,NZD/USD, EUR/GBP. As far as I can tell, it does not display anything if the rate is <1.0 or >2.0. It maybe something else, but this appears to hold true in all the crosses I tried it with.

Secondly there is an issue with the indicator painting a candle if it meets the paramaters 'as it is forming', however if the candle subsequently changes while forming such that it no longer meets the paramaters, it still remains painted. The candle can close and still remain painted when it should not be. Changing to another timeframe and then back again to the timeframe you were using fixes the candles that are painted incorrectly, but this would need to be done at the close of every candle.

Cheers, Pye.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #13 (permalink)  
Old 06-24-2008, 10:50 AM
igorad's Avatar
Senior Member
 
Join Date: Oct 2005
Location: Ukraine
Posts: 814
igorad is on a distinguished road
I've fixed almost all your issues.
So, try to test new version.

Concerning different cross pairs:
It's really strange, because I have no problem with any pairs.
Who is your broker?

Quote:
Originally Posted by PyeR2 View Post
Hi Igorad,
unfortunately I have found a couple of bugs with the Custom Indicator you posted.

Firstly it only works on EUR/USD, GBP/USD, USD/CHF and does not not work on many others such as all JPY crosses, AUD/USD,NZD/USD, EUR/GBP. As far as I can tell, it does not display anything if the rate is <1.0 or >2.0. It maybe something else, but this appears to hold true in all the crosses I tried it with.

Secondly there is an issue with the indicator painting a candle if it meets the paramaters 'as it is forming', however if the candle subsequently changes while forming such that it no longer meets the paramaters, it still remains painted. The candle can close and still remain painted when it should not be. Changing to another timeframe and then back again to the timeframe you were using fixes the candles that are painted incorrectly, but this would need to be done at the close of every candle.

Cheers, Pye.
Attached Images
File Type: gif range_1.gif (11.4 KB, 255 views)
Attached Files
File Type: mq4 RangeBars_v2.mq4 (3.4 KB, 42 views)
__________________
Let's improve trade skills together
http://finance.groups.yahoo.com/group/TrendLaboratory
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #14 (permalink)  
Old 06-24-2008, 03:17 PM
PyeR2's Avatar
Member
 
Join Date: Jan 2008
Posts: 37
PyeR2 is on a distinguished road
When It Works It Works Well

Good job with the painting & un-painting issue, and the option to paint whole candle is really good but I still have the issue if it not working on the pairs mentioned previously. Alpari is my broker. I have tried and tried it just doesn't work for some reason. It's crazy!
Attached Images
File Type: jpg AU.US No Paint.jpg (221.5 KB, 238 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #15 (permalink)  
Old 06-24-2008, 04:20 PM
igorad's Avatar
Senior Member
 
Join Date: Oct 2005
Location: Ukraine
Posts: 814
igorad is on a distinguished road
Option "Chart on foreground" should be unchecked (menu "Charts"-> "Properties" or press F8, tab "Common").

Quote:
Originally Posted by PyeR2 View Post
Good job with the painting & un-painting issue, and the option to paint whole candle is really good but I still have the issue if it not working on the pairs mentioned previously. Alpari is my broker. I have tried and tried it just doesn't work for some reason. It's crazy!
__________________
Let's improve trade skills together
http://finance.groups.yahoo.com/group/TrendLaboratory
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #16 (permalink)  
Old 06-25-2008, 12:57 AM
PyeR2's Avatar
Member
 
Join Date: Jan 2008
Posts: 37
PyeR2 is on a distinguished road
You're A Legend

Duh!! I should have figured that one out. Thanx heaps.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #17 (permalink)  
Old 07-13-2008, 11:05 AM
mystified's Avatar
Senior Member
 
Join Date: Jun 2006
Posts: 139
mystified is on a distinguished road
İs it possible for coders to convert RSI of Volatility indicator from Tradestation to Metatrader?I think it looks quite useful to detect the overbought oversold market with this indicator. Trader.Online.pl® - TradeStation™ Zone - RSI of Volatility. Thanks in advance
Attached Images
File Type: gif t-i-RSI_of_Volatility.gif (19.8 KB, 159 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #18 (permalink)  
Old 07-30-2008, 01:51 AM
Junior Member
 
Join Date: Apr 2008
Posts: 5
paco99 is on a distinguished road
can someone help me convert a simple program to MetaTrader?

I have a small program (profitable in TradeStation) that is only 8-10 lines of code. Can someone help me convert it to MetaTrader?


I want to see if it works in MetaTrader. If so, I'm switching from TS


Thanks!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #19 (permalink)  
Old 07-30-2008, 03:05 AM
ocm1's Avatar
Member
 
Join Date: Dec 2005
Location: Ukraine
Posts: 65
ocm1 is on a distinguished road
pls post ur TS code here ..
if ur program is priftable, someone will help u to convert it .

thank you

Quote:
Originally Posted by paco99 View Post
I have a small program (profitable in TradeStation) that is only 8-10 lines of code. Can someone help me convert it to MetaTrader?


I want to see if it works in MetaTrader. If so, I'm switching from TS


Thanks!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #20 (permalink)  
Old 07-30-2008, 05:02 AM
Junior Member
 
Join Date: Apr 2008
Posts: 5
paco99 is on a distinguished road
It's definitely profitable. It will be even more profitable when I don't have to pay commissions when using MetaTrader. :-) I'd really appreciate it if someone can please post the conversion. it's only 8 lines of code:

Inputs: avgLength(30), atrLength(30); //just variables
Vars: upBand(0), dnBand(0), movAvgVal(0), movAvgVal2(0); //more variables

movAvgVal = average(((High + Low + Close)/3),30);
movAvgVal2 = average(((High + Low + Close)/3),20);
upBand = movAvgVal + AvgTrueRange(atrLength);
dnBand = movAvgVal - AvgTrueRAnge(atrLength);

if (movAvgVal > movAvgVal[1]) then Buy next bar at upBand stop;
if (movAvgVal < movAvgVal[1]) then Sell Short next bar at dnBand stop;

If(MarketPosition = 1) then Sell next bar at movAvgVal2 stop; //if long
If(MarketPosition = -1) then Buy To Cover next bar at movAvgVal2 stop; //if short



explanation of what it does:

There are two moving averages: 1) average of high/low/lose, and 2)
moving averge of the true ranges.

In this system, the direction of the moving average and the penetration of
the bands is the entry technique. The liquidation of the position at the moving average is the exit. This is a long term approach.



Quote:
Originally Posted by ocm1 View Post
pls post ur TS code here ..
if ur program is priftable, someone will help u to convert it .

thank you
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help, Re Mq4 And Tradestation lizmerrill Indicators - Metatrader 4 1 09-08-2006 04:03 PM


All times are GMT. The time now is 07:40 PM.



Search Engine Friendly URLs by vBSEO 3.2.0 ©2008, Crawlability, Inc.