Forex
Google

Go Back   Forex Trading > Programming > Metatrader Programming
Forex Forum Register FAQ Members List Calendar Search Today's Posts Mark Forums Read


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 07-06-2006, 02:27 PM
asmdev asmdev is offline
Member
 
Join Date: Dec 2005
Posts: 68
asmdev is on a distinguished road
intervals

I need to have equal intervals on horizontal and vertical axes so that a line i draw at certain degree angle is correct. How to scale the graph to achive equal intervals?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #12 (permalink)  
Old 07-07-2006, 11:11 PM
danielpasono danielpasono is offline
Junior Member
 
Join Date: Jul 2006
Posts: 9
danielpasono is on a distinguished road
Access to Indicator variable

Hello all.

Is there anyway to access the variables of an indicator from an Expert System that is running on the same chart?

I'd like to put a pivot point indicator on my chart but my EA needs to know the values of the PPs.

Thanks.
Daniel
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #13 (permalink)  
Old 07-12-2006, 04:05 PM
adria adria is offline
Member
 
Join Date: Dec 2005
Posts: 58
adria is on a distinguished road
MA Simple variable?

What is a code for the next variable:
MA simple; period 1; median price (HL/2)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #14 (permalink)  
Old 07-12-2006, 09:57 PM
Nicholishen's Avatar
Nicholishen Nicholishen is offline
Senior Member
 
Join Date: Dec 2005
Posts: 531
Nicholishen is on a distinguished road
need help with bar analysis

Can anyone recommend a method or indicator for determining the type of move in a short term trend. For example, I would like to be able to determine the differece between a gradually stepping bar pattern on lower tf charts vs a volitilty move. Has anyone experimented with this approach or have any ideas, info, etc.?
__________________
"Anyone who has never made a mistake has never tried anything new." -Albert Einstein
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #15 (permalink)  
Old 07-28-2006, 03:05 PM
myfogo myfogo is offline
Junior Member
 
Join Date: Jul 2006
Posts: 13
myfogo is on a distinguished road
Lightbulb MT4 Bugs?

forex.jpg
Could someone advice me on why this order open?

I had test an EA which create a pending order
2006.07.28 12:25:03 '1136246': pending order buy stop 0.10 NZDUSD at 0.6165 sl: 0.6155 tp: 0.6185

Order confirmation:
2006.07.28 12:25:04 '1136246': order is open : #8521433 buy stop 0.10 NZDUSD at 0.6165 sl: 0.6155 tp: 0.6185

This order (#8521433) open without hitting the buy price at 0.6165 and at the same time it also close the order which is my stop loss 0.6155. at 2006.07.28 12:28
Order No: 8521433 (Highlighted)

MT4 open and close at the same time, when it had hit stop loss?
But it is a pending order if it not hit the buy price it wont open right?

Could anyone of you tell me why? Or mybe it is my mistake?

THANKS
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #16 (permalink)  
Old 08-11-2006, 06:07 PM
Trading MM's Avatar
Trading MM Trading MM is offline
Member
 
Join Date: Aug 2006
Posts: 74
Trading MM is on a distinguished road
Other Order entry system available for MT4?

Hi all,

I am new to MT4.

Currently I use Ninjatrader order system trading thru Interactive Brokers.

Thinking about trading the Forex Eur/USD and want to use MT because a few people created a Murrey Math indicator for this platform.

However I don't like the order entry system at all
(compare it @ www.ninjatrader.com)

Is it possible to create your own order entry system in MT4? Or, did somebody do this before? I'm willing to pay for it if it meets my needs.

Many thanks in advance for your replies

Regards,
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #17 (permalink)  
Old 09-07-2006, 07:50 PM
rlp512 rlp512 is offline
Junior Member
 
Join Date: Feb 2006
Posts: 10
rlp512 is on a distinguished road
On Screen Movable Limit Orders

Back when I was trading with CMS-forex, the thing I loved most about the platform was the ability to change a limit order by clicking and dragging the line on the screen to any price level. After moving the line a pop up box would appear asking to confirm the change. Any chance MetaTrader could implament something similar?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #18 (permalink)  
Old 09-18-2006, 11:41 AM
fonzfx fonzfx is offline
Junior Member
 
Join Date: Sep 2006
Posts: 2
fonzfx is on a distinguished road
Most Recent Occurrence Function

Hi, is there any MT search function returns like the MRO (Most Recent Occurrence) function in the EasyLanguage TradeStation?

I want the function to return when i search, for example the indicator RSI is > 70. And it is the most recent result within the number of trailing bars to serach.

If there isn't any MRO MT function, could anyone help to convert the function in the EasyLanguage TradeStation to MT4?


// Description: Most Recent Occurrence

Inputs: Expression(TrueFalseSeries), Length(NumericSimple), Occur(NumericSimple);
Variables: TrueCount(0), Counter(0);

Counter = 0;
TrueCount = 0;

While Counter < Length AND TrueCount < Occur Begin
If Expression[Counter] Then
TrueCount = TrueCount + 1;
Counter = Counter + 1;
End;
If TrueCount >= Occur AND TrueCount > 0 Then
MRO = Counter - 1 + CurrentBar - BarNumber
Else
MRO = -1;

// End


Appreciate anyone can help me..thanks.
Fonz
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #19 (permalink)  
Old 09-22-2006, 07:43 AM
andee's Avatar
andee andee is offline
Junior Member
 
Join Date: Mar 2006
Posts: 19
andee is on a distinguished road
How to Detect Order was Close by stop loss????

Dear All,

does anyone here know mt4 code that detect order was closed by stoploss??

thank's for any help.....
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #20 (permalink)  
Old 09-29-2006, 09:58 PM
Texada Texada is offline
Junior Member
 
Join Date: Sep 2006
Posts: 1
Texada is on a distinguished road
Display arrows in ordersend()

Hi,
I'm using the ordersend() function in MT4 but am unable to get the arrows displayed. Is there something else I have to do other than this:

ticket=OrderSend(Symbol(),OP_BUY,Lots,Ask,3,Ask-StopLoss*Point,0,"MyEA",12345,0,DodgerBlue);

My code works and the orders are placed, but the arrows don't show in the chart window.

Thanks,
Bryon
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Learning Cycles For New Traders Dan7974 General Discussion 350 01-18-2008 06:04 PM
Learning to code for autotrading GoatT Metatrader Programming 8 01-10-2007 08:55 PM
Self learning expert mrtools Expert Advisors - Metatrader 4 32 10-22-2006 05:29 PM


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