Raw Ideas - page 68

 

Anyone knows Scalping system?

Anyone knows this ea? In which it can be based to obtain those results?

Here is : Third-pary Metatrader Expert Advisors | Forex Robots

TIA!

 
be77y:
Hi guys,

I hope someone here can help to make an EA and alert system according to the given setting at the link below;

Moving Average MACD Combo

I like the system, very simple and complete package.

It sounds like a good place to start with. Im trying to find one with at least 2 conditions, so the rest can be changed easily. Including risk management system at the bottom, with customizable values.

If you find one, let me know also.

be77y:
The additional money management system is attached.

What does this money management system do exactly?

Do you attach it to an EA or need to modify it to work with additional conditions?

Thanks,

Regards

 

Leading Indicators

Find attached 2 leading indicators from an old book by Ulf Jensen. I have had this book for about 14 years. I am new to forex trading and do not know how to code yet. The indicators are written in easy language for Tradestation. I know there is someone on this forum that can code these to work with meta trader 4. Hope someone can use these!!!

Files:
fsk.txt  1 kb
ktd.txt  1 kb
 

Moving Average MACD combo

Dear Yummy,

I am sorry about the 2 conditions that you ask.

I don't know anything about the codding.

I am new to this MT4.

I hope you can explain to me about it.

If you can combine with the money mangement system together in the EA, is good.. i am appreciate that.

May be this link may help you find the condition that you need;

MQL4 Code Base: expert advisors for MetaTrader

Good Luck!

MoreYummy:
It sounds like a good place to start with. Im trying to find one with at least 2 conditions, so the rest can be changed easily. Including risk management system at the bottom, with customizable values.

If you find one, let me know also.

What does this money management system do exactly?

Do you attach it to an EA or need to modify it to work with additional conditions?

Thanks,

Regards
 

Indicators for new EA

Hi all,

I'm working on a non commercial EA with some programmers. We need indicators or code for 12 currency pairs and multiple time frames to:

Map trends and countertrends on each chart in a table form; it would be great if trend strength was also included. Use DeMark swing highs and lows?

Scan for and list divergence on RSI and Stochastic in oversold and overbought territory.

List 3 most recent DeMark swing highs and swing lows on each time frame.

Calculate and list most recent average daily range for each currency pair.

Tabulate extreme 'swing highs and lows' from current tic chart.

Candlestick pattern alert for direction change of adjacent candles, doji, (inverse) hammer, and any other reliable indication of trend reversal. Does Heiken Ashi qualify?

Best regards,

George

 

MT4 Code for last trade result

Hello,

I am looking for an MT4 code that will give the result of the last trade so that I can program a progressive lot ea based on probability.

Thanx

 

How do you get a moving average of this indicator

Please advise. How do I get a moving average to overlay on this indicator and used its data to feed the moving average?? I tried the stock moving average, but it does not open the box to ask me to use other data input so what am I to do to achieve this goal???

Dave

<<<

Attached is indicator in which I want to show a moving average using its data - The moving average could be a 10 bar moving average of the TrendStrength indicator.

Files:
 

Bollinger EA system help

Hi can someone please write an EA for this system it has been very profitable. It has a autoprogram for GFT included below. Thanks

Setup

Currency pair: EUR/USD

Timeframe: 1-Hour

Indicator: Bollinger Band (20, 1.5), Note: standard deviation used is 1.5, not default of

2.0

Only one position is opened at a time

Wait until candle closes to determine criteria

Actions are taken at next Open (market) price

Entrance Criteria

Width of Bollinger band must be between 20 - 150 Pips.

Positions can only be opened between 02:00 - 16:00 GMT (02:00 - 14:00 GMT on

Friday).

Buy when Close price has dropped below and re-enters inside lower-BB, but has not

crossed above mid-BB level.

Sell when Close price has risen above and re-enters inside upper-BB, but has not

crossed below mid-BB level.

Exit Criteria

Width of Bollinger band must be between 20 - 150 Pips

After Close price has broken out of opposite outer-BB level, wait until it re-enters and

closes back inside BB before exiting.

Close position when loss is at least 45 Pips. Note: Standard Stop Loss is NOT used.

Wait until candle closes before determining Pip loss.

Close position at 15:00 GMT on Friday.

// stPiPs BBFR - Bollinger Band Full Range Strategy

// Version: 1.0

// Copyright 2008 Tony Nguyen.

// Visit Welcome to SharethePiPs.com or Welcome to SharethePiPs.com for the latest version.

// FOR EDUCATIONAL PURPOSES ONLY. USE AT OWN RISK

strategy stPiPs_BBFR_v1;

input Lots=1,

Start_hr=20, // Start of window to open position (local time)

End_hr=10, // End of window to open position (local time)

FPL_SL=45,

Rollover_Pip_Gain=0; // Pip difference after daily rollover

vars period=20, pip_multiplier=10000, optimal_window=false, close_friday=false,

hr_bar(number), fpl_hit=false, currentbar(number), currentBB(number),

weekday_bar(number), msg(string), pair_spread=2, chk_stop_n_rev=false,

Friday_hr=9, // End of week closing hr (local time)

BB_Std=1.5, // Bollinger_Bands Standard_Deviation value

Min_bandwidth=20, // Minimum Bollinger_Band width

Max_bandwidth=150; // Maximum Bollinger_Band width

begin

currentbar := back(close);

hr_bar := hour(timestamp[currentbar]);

weekday_bar := weekday(timestamp[currentbar]);

if back(close) < front(close) + period - 1 then return; // Ensure enough data for BB calculations

bollinger_bands(close, period, BB_Std);

if (weekday_bar = 6) and (hr_bar >= Friday_hr) then close_friday := true; // Check if market is about to close

at end of week

currentBB := back(Bollinger_Bands.line_upper);

if close_friday=false then // check width of Bollinger_Bands

if (Bollinger_Bands.line_upper[currentBB] - Bollinger_Bands.line_lower[currentBB]) * Pip_multiplier <=

Min_bandwidth or

(Bollinger_Bands.line_upper[currentBB] - Bollinger_Bands.line_lower[currentBB]) * Pip_multiplier >=

Max_bandwidth then return;

// Exit procedure. Exit position:

// 1) Before market closes at end of week (Friday 10 a.m. Central Time)

// 2) When StopLoss is hit based on Close price

// 3) When Close crosses and re-enters opposite outer-BB

if fpl()<= (-(FPL_SL + Rollover_Pip_Gain) * lots) then fpl_hit := true;

if long() then

begin

if (close_friday=true) or (fpl_hit=true) or

crossdown(close, bollinger_bands.line_upper) then

begin

exitlong();

msg := "Exitlong executed for " + symbol + " around " + numbertostring(close[currentbar]) +

". FPL = $" + numbertostring(fpl());

alert("e-mail", msg);

chk_stop_n_rev := true;

end;

end;

if short() then

begin

if (close_friday=true) or (fpl_hit=true) or

crossup(close, bollinger_bands.line_lower) then

begin

exitshort();

msg := "Exitshort executed for " + symbol + " around " + numbertostring((close[currentbar]) +

(Pair_Spread/pip_multiplier)) +

". FPL= $" + numbertostring(fpl());

alert("e-mail", msg);

chk_stop_n_rev := true;

end;

end;

// Entrance procedure

// - Open position when Close re-enters BB, but has not crossed mid-BB level.

// - Can only open position during optimal trading window

if Start_hr > End_hr then // Trading window wraps around midnight local time

if (hr_bar >= Start_hr) or (hr_bar <= End_hr) then optimal_window := true

else

if (hr_bar >= Start_hr) and (hr_bar <= End_hr) then optimal_window := true;

if optimal_window=true then

begin

if close_friday=false and ((not long() and not short()) or (chk_stop_n_rev = true)) then // execute only if no

positions are opened or possible stop-n-reverse

begin

if crossup(close, bollinger_bands.line_lower) and not(crossup(close, bollinger_bands.line_mid)) then

begin

buy(lots);

msg := "Buy executed for " + symbol + " around " + numbertostring(close[currentbar] + (Pair_spread /

pip_multiplier)) +

" for " + numbertostring(lots) + " lots.";

alert("e-mail", msg);

end;

if crossdown(close, bollinger_bands.line_upper) and not(crossdown(close, bollinger_bands.line_mid)) then

begin

sell(lots);

msg := "Sell executed for " + symbol + " around " + numbertostring(close[currentbar]) +

" for " + numbertostring(lots) + " lots.";

alert("e-mail", msg);

end;

end;

end;

end.

 

I need the code

Hi there,

I`m new to forex (about six mths on demo). In my search for a good trading system I came across Toto`s thread (Strategy to take safe pips every day).

His ideea is to watch the retcement on a strong trend, and to open positions after the price starts to move again in trend direction.

Because I cannot stay all day with my eyes on the charts (I also need to keep my job u know), I realy need an alert indicator for such situations.

It will also be helpful for extended backtesting if a pointing arrow is present at that particular price formation.

Having in view the above, is there anyone that is willing to help me with the code?

If u need any details regarding Toto`s system I will be happy to help.

Big pips to all

Necre

Files:
toto.jpg  17 kb
 

30 minute scalping 10-15 pips per trade

I am seeking if someone could make an ea based on this rules, it will be very much appreciated. The strategy manually has over 80% accuracy.

Indicators involved

Osma (12, 26, 9)

Adx/dmi (5 )(median price HL/2)

5 ema for visual

Rules

30 minute timeframe

Buy

1. OsMA is above 0 line(positive) for at least 3 consecutive bars

2. THe main buy signal comes once D+ crosses over D-, DO NOT Wait for bar to close, once the lines cross and going up take a position. Your target is 8-15 pips.

Your stop loss is 12pips(the ratio is about a 1:1) even though

I did not metion about the adx usually once criterias are met the adx line is pointing upward(for strength, not for direction

I would like if someone could make an EA with these rules( also to have alerts)

ALSO if some one could create an INDICATOR which takes these rules and gives a buy(up arrow) or (sell signall)

Thank you

Sam