| New signals service! | |
|
|||||||
| 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 |
|
![]() |
|
|
LinkBack (2) | Thread Tools | Display Modes |
|
||||
|
that helps
Hi Ralph,
Thanks for your help. Mine has two buffers but 4 input parameters. I tried it with 4 parameters and that did not work but then I tried it with 2 and I got an order. Now I just have to work out the rest. Thanks for getting me unstuck. Putz |
|
|||
|
any one help me?
hi all
all you know the Pivot_Monday_fixed indicator i need some changes in this indicator i want only the pivot line and another four lines 2 blue color Pivot +20 and Pivot + 40 2 red color Pivot - 20 and Pivot - 40 only 5 lines thanks |
|
|||
|
Open your .mq4 file in the MetaEditor, then clic "Compile" and the .ex4 file is create.
|
|
||||
|
Help again
Hi All,
I've been working on an EA for what seems like an eternity. Thanks to all the people on this thread for all the help they've given me. I am now stumped again and looking for more help. As we all know, most crossover type of signals from MA's to Stoch's don't work very well because many times it crosses at the end of the move. What I am trying to do is use Stochastic RSI when it crosses the 50 line but only on the following bar once price has passed either the high or the low by a certain amount of pips (MinPips). My main problem is that when I track the cross, if price only reaches the MinPips on the subsequent bars after the cross but the cross stays in the same direction. I'm trying to attach a picture to show what I am trying to do. Point #1 is at a sell cross but since price never passes the low of that bar, no trade is taken (actually, I would like any previous trade to stay active). Point #2 is at a buy cross but price only passes the high of the bar on the 4th bar after the cross and should be taken at that time. Any previous sell orders should be closed at this time. I hope this works as it is the first time that I attach a picture. I apologize in advance if I messed up. Putz |
|
||||
|
More information
The following is my programming where CurrDir is the current direction and that PrevDir is the previous direction so if it is not equal, then there has been a cross.
The problem is that if it does not cross on the current bar, then CurrDir and PrevDir become equal and it never goes past that bar to see if it reaches the ValHigh or ValLow. Any help will be appreciated. Putz HTML Code:
if(CurrDir != PrevDir)
{
if(CurrDir == 1)
{
ValHigh = iHigh(Symbol(),Timeframe2,1) + MinPips*Point;
if(Bid >= ValHigh)
{
return(1); //up
}
return (2);
}
if(CurrDir == 2)
{
ValLow = iLow(Symbol(),Timeframe2,1) - MinPips*Point;
if(Ask <= ValLow)
{
return(2);//down
}
return (1);
}
|
|
|||
|
Is there a way to change the data format of MT4 export file
I am looking for the ASCII.csv but need the data to be in the following format; 1) separate columns (only need: time, high, low and close) 2) only for the last 1000 bars 3) reverses the order (last on top) 4) saves it in a folder that i already have on my desktop (maybe a browse function to select which one?) Thanks in advance to anyone that might be able to help me. |
![]() |
| Bookmarks |
| Tags |
| histogram, forex |
| Thread Tools | |
| Display Modes | |
|
|
LinkBacks (?)
LinkBack to this Thread: http://www.forex-tsd.com/questions/270-ask.html
|
||||
| Posted By | For | Type | Date | |
| OzFx System:) - Page 639 | This thread | Refback | 06-21-2008 09:53 PM | |
| Forex SRDC Sidus Sibkis EA MT4 Forum OTCSmart | This thread | Refback | 12-08-2007 11:46 AM | |