Forex



Go Back   Forex Trading > Discussion Areas > General Discussion
Forex Forum Register More recent Blogs Calendar Advertising Others Help






Register
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.
See more

Reply
 
Thread Tools Display Modes
  #11 (permalink)  
Old 09-28-2008, 06:01 PM
Senior Member
 
Join Date: May 2006
Posts: 768
robp is on a distinguished road
What I was trying to ask is, what are using to determine the hlc/3 of the previous bar? Are you using an indi to calculate that for each bar?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #12 (permalink)  
Old 09-28-2008, 06:13 PM
Beno's Avatar
Senior Member
 
Join Date: Aug 2006
Location: London
Posts: 516
Beno is on a distinguished road
No indicators I am using maths formular as below.

double high = iHigh(NULL,1440,1);
double low = iLow(NULL,1440,1);
double close = iClose(NULL,1440,1);
double P = (high+low+close)/3;


Cheers

Beno
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #13 (permalink)  
Old 09-28-2008, 07:47 PM
Senior Member
 
Join Date: Jan 2007
Location: not so remote
Posts: 3,272
fxbs is on a distinguished road
interesting
+ tp/sl may be considering average (bar) range per session?
Attached Images
File Type: gif pldot open.gif (11.5 KB, 572 views)
Attached Files
File Type: mq4 PLdotMM.mq4 (2.1 KB, 96 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #14 (permalink)  
Old 09-28-2008, 11:10 PM
Linuxser's Avatar
User Root
 
Join Date: May 2006
Location: Helliconia (Spring)
Posts: 4,412
Blog Entries: 56
Linuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond repute
This is getting better and better Beno. Reports are always positives.

You're proving the power of pivots.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #15 (permalink)  
Old 10-01-2008, 06:14 PM
Beno's Avatar
Senior Member
 
Join Date: Aug 2006
Location: London
Posts: 516
Beno is on a distinguished road
I have been thinking about how to create a compounding formular based on the size of the previous bar (pivot bar) and have come up with this.
p-open/p*100 the differacne between the pivot and the open.



So the theory is the creater the distance between the pivot and the open of the current bar the high he chance of the next bar heading in the same direction so the greater you should risk.

It's just a crazy idea please let me know if it has any legs.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #16 (permalink)  
Old 10-03-2008, 08:51 PM
Beno's Avatar
Senior Member
 
Join Date: Aug 2006
Location: London
Posts: 516
Beno is on a distinguished road
There is a problem with this EA when running multiple pairs you will end up with "trade context busy" due to the fact this works on the open of a new bar

I have been trying to implement the following code to try and rid the problem

the article is here Error 146 ("Trade context busy") and How to Deal with It - MQL4 Articles

but I keep getting an error because of the ... could someone please point me in the right direction as i have searched in the usual places but have not found anything.

#include <TradeContext.mq4>

int start()
{
// check whether the market should be entered now
...
// calculate the StopLoss and TakeProfit levels, and the lot size
...
// wait until the trade context is free and then occupy it (if an error occurs,
// leave it)
if(TradeIsBusy() < 0)
return(-1);
// refresh the market info
RefreshRates();
// recalculate the levels of StopLoss and TakeProfit
...
// open a position
if(OrderSend(...) < 0)
{
Alert("Error opening position # ", GetLastError());
}

// set the trade context free
TradeIsNotBusy();

return(0);
}



Cheers

Beno
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #17 (permalink)  
Old 10-04-2008, 08:23 PM
Junior Member
 
Join Date: Jul 2008
Posts: 10
hitescape is on a distinguished road
Quote:
Originally Posted by Linuxser View Post
You defined which scalp is for Forex Beno.

This system and EA have future.
Can you help me duplicate your backtesting results? What pair and TF are you using? How about the SL and TP? When I back test this using FXDD, I cannot find a winning combination. Is it the broker?

Thanks,

Dave
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #18 (permalink)  
Old 10-04-2008, 08:45 PM
Linuxser's Avatar
User Root
 
Join Date: May 2006
Location: Helliconia (Spring)
Posts: 4,412
Blog Entries: 56
Linuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond repute
Quote:
Originally Posted by hitescape View Post
Can you help me duplicate your backtesting results? What pair and TF are you using? How about the SL and TP? When I back test this using FXDD, I cannot find a winning combination. Is it the broker?

Thanks,

Dave
Hi,

AlpariUS-Demo (Build 218)
Symbol EURUSD (Euro vs US Dollar)
Period 4 Hours (H4) 2001.04.25 16:00 - 2008.09.26 20:00
Model Control points (a very crude method, the results must not be considered)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #19 (permalink)  
Old 10-04-2008, 11:44 PM
Beno's Avatar
Senior Member
 
Join Date: Aug 2006
Location: London
Posts: 516
Beno is on a distinguished road
Quote:
Originally Posted by hitescape View Post
Can you help me duplicate your backtesting results? What pair and TF are you using? How about the SL and TP? When I back test this using FXDD, I cannot find a winning combination. Is it the broker?

Thanks,

Dave
i just use what is in the pea2 ea sl=300 tp=100 ts=12 and thats about it I use daily tf.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #20 (permalink)  
Old 10-05-2008, 01:22 PM
Beno's Avatar
Senior Member
 
Join Date: Aug 2006
Location: London
Posts: 516
Beno is on a distinguished road
This is what I have done so far am I on the right track ??? I still have the '.' which refers to the dot in if(OrderSend(...) < 0) do I have to fill in the Symbol(), OP_SELL, Lots, Bid, Slippage, StopLossLevel, TakeProfitLevel, "Sell(#" + MagicNumber + ")", MagicNumber, 0, DeepPink); or what sorry if this looks confusing but I'm rubbish at this stuff

//Sell
if (Order == SIGNAL_SELL && ((EachTickMode && !TickCheck) || (!EachTickMode && (Bars != BarCount)))) {
if(!IsTrade) {
//Check free margin
if (AccountFreeMargin() < (1000 * Lots)) {
Print("We have no money. Free Margin = ", AccountFreeMargin());
return(0);
}

if (UseStopLoss) StopLossLevel = Bid + StopLoss * Point; else StopLossLevel = 0.0;
if (UseTakeProfit) TakeProfitLevel = Bid - TakeProfit * Point; else TakeProfitLevel = 0.0;
if(TradeIsBusy() < 0)
return(-1);
// refresh the market info
RefreshRates();
// recalculate the levels of StopLoss and TakeProfit


Ticket = OrderSend(Symbol(), OP_SELL, Lots, Bid, Slippage, StopLossLevel, TakeProfitLevel, "Sell(#" + MagicNumber + ")", MagicNumber, 0, DeepPink);
if(Ticket > 0) { // open a position
if(OrderSend(...) < 0)
{
Alert("Error opening position # ", GetLastError());
}

// set the trade context free
TradeIsNotBusy();


if (OrderSelect(Ticket, SELECT_BY_TICKET, MODE_TRADES)) {
Print("SELL order opened : ", OrderOpenPrice());
if (SignalMail) SendMail("[Signal Alert]", "[" + Symbol() + "] " + DoubleToStr(Bid, Digits) + " Open Sell");
} else {
Print("Error opening SELL order : ", GetLastError());
}
}
if (EachTickMode) TickCheck = True;
if (!EachTickMode) BarCount = Bars;
return(0);
}
}

if (!EachTickMode) BarCount = Bars;

return(0);

Last edited by Beno; 10-05-2008 at 01:30 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
Reply

Bookmarks

Tags
pivot, Pivot system


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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
The Only Pivot stevenali Manual trading systems 2691 08-15-2009 04:28 PM
Pivot indicator which ONLY displays Current DAY's Pivot lines.. Kent Indicators - Metatrader 4 0 07-18-2007 01:03 AM
A Pivot Based System kalahariduin Suggestions for Trading Systems 20 12-08-2006 10:26 PM
Pivot Point System jebigabre Suggestions for Trading Systems 2 08-27-2006 07:28 AM
Pivot System cucurucu Suggestions for Trading Systems 101 04-21-2006 05:09 PM


All times are GMT. The time now is 08:59 AM.



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