MrChuckW / Profile
Friends
Requests
Add friends via their profile or user search and you will be able to see if they are online
Outgoing
MrChuckW
Added topic Last order profit/loss
How do I code my EA to collect the last closed order's profit/loss? I can track the p/l for live orders, and if I close the order, I can collect the data... but if the system closes the order... for whatever reason... I don't know how to collect the
MrChuckW
Added topic close a group of open orders
//+-------- if the series meets profit targets... close the series--------------------------------------------------------+ if (((profit > target_profit)) )
MrChuckW
Added topic mql4 clickable buttons
Can someone share with me simple code for mql4 to have a clickable button on a forex chart that when clicked places a market order? If not the code, where to go to research. All my searches send me to mql5.
MrChuckW
Added topic Writing an EA for Binary Options
I want to program my own Binary Options trading robot . I have learned a bit of MQL4. Where do I go to learn how to program a Binary Options robot? Can you use MQL4 to do it? How does the ea interface with the Options platform?
MrChuckW
Added topic Programming Binary Robots
I've programmed a few simple EA's for MT4 using MQL4. Now I want to dabble with Robots for Binary broker platforms. I know you can buy robots that will trade on your Binary platform, but I want to create my own. I can't find any help on the
MrChuckW
Added topic arrows; is there a way to batch them?
Is there a way to "batch" enter arrows onto a chart? say from and excel spread sheet. Or is the only way to excruciatingly put them in one at a time, or wait for the extreemly slow process of the visual mode? The tester spits out in a
MrChuckW
Added topic timing code
How do I write a code to prevent a trade between a certain time span? Example: I want to enter the time of a certain news announcement. (Daily Fx lists announcement times in GMT... I think) My broker is GMT + 2 hours. And I am in Mountain Time Zone
MrChuckW
Added topic Trading the news.
Is there a way to access news dates and times in the MT4? For instance, I want to NOT trade around EUR/USD news releases ... maybe an hour before and an hour after... or so. Or do I just need to created my EA so I can manually enter the news release
MrChuckW
Added topic Controlled Open Time
55839 - in this post, I learned how to open an order at the start of a bar. Am using this with great success. What I need to know now, is how to delay opening the order for X no. of minutes after the opening of the bar. Example: On the 4 hour chart
MrChuckW
Added topic how to limit trading times
How do I get my ea to only trade during the New York Session? GMT 0800 to 1600 How do I display GMT on my chart
MrChuckW
Added topic OrderSend not working?
if(SARCurrent > Ask) {ticket =OrderSend(Symbol(),OP_SELL,Lots,Bid,3,0, "SAR Sell",MagicNumber,0,Red); send.text.3();} why would this execute the
MrChuckW
Added topic trouble with OrderClose()
int cnt, total; total=OrdersTotal(); for(cnt=0;cnt<total;cnt++) { OrderSelect(cnt, SELECT_BY_POS, MODE_TRADES); if( OrderType()==OP_BUY && Bid-OrderOpenPrice() >Point*TakeProfit) { OrderClose(cnt, OrderLots(),Bid, 3, CLR_NONE) ; Why is
MrChuckW
Added topic open order at new bar only
Here's the correct one of phy code in start() function int start() { if (oldTime != Time[ 0 ] ) { // first tick of new bar found
MrChuckW
Added topic Order Entry Logic
Could someone share some order entry logic with me? If my ea logic says it's time to buy, I don't want my ea to execute the buy order if the price is still dropping. I want it to allow the price to drop, and enter on a reversal. for example: ea says
MrChuckW
Added topic OrderModify error 1
if ( order_type==OP_SELL ) { if(Ask < order_stoploss - 0.00150){ OrderModify(ticket1,order_price, Ask + 0.0005 ,0,Blue); return ; }} Why am I getting OrderModify error 1 when this executes
MrChuckW
Added topic indicator tester
How do I test my indicator with MT4 ? I would like to run it like I test an EA
MrChuckW
Added topic Market Open?
Can an EA check to see if a broker is open for trading before executing a trade? I'm working on a hedging program between 2 brokers, and I don't want just one leg to be executed because one broker is open and the other is not. I am mostly interested
: