Welcome to Forex-TSD!, one of the largest Forex forums worldwide, where you will be able to find the most complete and reliable Forex information imaginable.
From the list below, select the forum that you want to visit and register to post, as many times you want. It’s absolutely free. Click here for registering on Forex-TSD.
Exclusive Forum
The Exclusive Forum is the only paid section. Once you subscribe, you will get free access to real cutting-edge Trading Systems (automated and not), Indicators, Signals, Articles, etc., that will help and guide you, in ways that you could only imagine, with your Forex trading.
Elite Section
Get access to private discussions, specialized support, indicators and trading systems reported every week.
Advanced Elite Section
For professional traders, trading system developers and any other member who may need to use and/or convert, the most cutting-edge exclusive indicators and trading systems for MT4 and MT5.
Hello,
I have a sligh problem with MT4, When i attach an EA to a chart and enable it, it doesnt trigger orders...
I downloaded an EA from this forum, (.mq4 file), copied to /Metatrader 4/Experts and attached it to a chart and enabled EA on MT4 so that the Smiley appears on the right hand corner... Ive been sat here 2 days waiting for orders to be triggered but nothing lol....
Beside using a template, is there a way that I can transfer object texts from one chart onto another?
This is what I have in mind. I have notes i.e. texts on the 4 hours chart and I would use an indicator called "save text". This indicator will save all the text using ObjectGetShiftbyValue and ObjectGet(...., objprop_time). I would then open up a new 1hr chart and attach an indicator called "transfer text". This will populate the new 1hr chart with texts from the 4hrs chart in the approximate location of time and price of the 4hrs chart.
Maybe I am making this more complicate than it should be. Any pointers???
For the guys using Hedge opening EA's for when the price goes against you, have you found it to be helpful? Just because if the price goes back into your favor before SL is hit then the Hedge order makes you loose your profit on the original order. or are there guidelines I should follow when opening a Hedge order? Like, open Hedge order when pips against me 30% of Original trade TP and set Hedge TP +110% SL -110% of original order? What are intelligent opposite % values you could use to create a Hedge order so as to cover minimal loss?
Thanks
Need help, I am trying to combine 2 indicators into 1?
First of all, thanks for any help received.
I am trying to combine a CCI histogram and ADX into one indicator.
Not as in overlaying, but the code in one file.
Similar to Woodies CCI, Except using the ADX instead of the LSMA.
I have started from scratch instead of trying to modify Woodies.
I have both of them displaying. The CCI is fine.
The ADX I am showing in a lineal fashion using DRAW_ARROW.
I have 2 problems:
A. I am getting no past history on the ADX. It just starts at the current bar, if I switch time frames it starts over. I would like it to show the previuos 200 bars.
B. I want the lineal ADX to align with the Level 0 of the CCI. It currently shows above or below depending on time frame.
I'm trying to create an alert everytime the bar makes a new high/low compared to the previous bar. But in someway, it seems to miss some highs/lows. I can't find anything wrong with my code, but at the same time I can't figure out why?
Anyone?
Code:
//+------------------------------------------------------------------+
//| Custom indicator initialization function |
//+------------------------------------------------------------------+
int init()
{
//---- indicators
//----
return(0);
}
//+------------------------------------------------------------------+
//| Custom indicator deinitialization function |
//+------------------------------------------------------------------+
int deinit()
{
//----
//----
return(0);
}
bool AlertOnce(int ref)
{
static int NewHigh = 0;
static int FailedHigh = 0;
switch(ref)
{
case 1:
if(NewHigh == 0 || NewHigh < Bars)
{
NewHigh = Bars;
return(true);
}
break;
case 2:
if(FailedHigh == 0 || FailedHigh < Bars)
{
FailedHigh = Bars;
return(true);
}
break;
}
}
//+------------------------------------------------------------------+
//| Custom indicator iteration function |
//+------------------------------------------------------------------+
int start()
{
int counted_bars=IndicatorCounted();
//----
if(High[0]>High[1] && AlertOnce(1)==true) Alert("1 working");
if(Low[0]<Low[1] && AlertOnce(2)==true) Alert("2 working");
//----
return(0);
}
//+------------------------------------------------------------------+
I tried some different sulotions, both found here on the forum and at Meataqoutes homepage, but i can't get anyone to work properly. My own idea is the set a variabel with the date if a position is open (orderstotal > 0 ) and compare that to the current time ( if a position isn't open, the variabel will have an old value an thereby is not equal to CurrentTime() ).
Instead, i get the ea to write to the file every volume-change when an position is open.
What have i missed out?
And, another question - is it possible to change "," in a csv export to ";"?