Spécifications
Mr Deev
I like your work very much. I dont know how you conduct negotiations so I am sending this file to you
to illustrate my specifications and to save you time. You can simply cut and paste most of my
example code .... where it meets your standards!!!
Here are my requirements:
1. I simply need a Renko Indicator that functions like RenkoChannelSignals.
Basic Functionality
1. A broadcast message should be issued when an "Up Arrow" is displayed.
2. A broadcast message should be issued when a "Dn Arrow" is displayed.
Additional Required Parameters
None.
Specification Of Broadcast Text Format (sparam).
1. Preferred format for "Buy": Symbol()+" "+"BUY" e.g. "USDRUB BUY"
1. Preferred format for "Sell": Symbol()+" "+"SELL" e.g. "USDRUB SELL"
P.S. I have a Multi-Currency EA that will process the Events, Manage Risk, Manage Lot Sizes and the Account in general.
It will also check other idicators for confluence etc. etc.
Please let me know what to do next.
Below are code snippets illustrating my requirements. The Broadcast Routine is an example from the manual
(near the section that explains User Chart Events. If there is any issue please contact me in the normal way.
Just guessed time and charges ...naturally this the cost of the modifications and the indicator.
//--------------------------------------------------------------------------------------------------------------
// ~~~
int broadcastEventID=5000;
string message; // Message to be sent in the event
// -----------------------------------------------------------------------> Example broadcast and messages setups so you can just cut and paste
if(BuySellCondition)
{
if(BuyCondition)
{
message=Symbol()+" "+"BUY";
///--- Send a message to all open charts
BroadcastEvent(ChartID(),0,message);
}
if(SellCondition)
{
message=Symbol()+" "+"SELL";
///--- Send a message to all open charts
BroadcastEvent(ChartID(),0,message);
}
ChartRedraw(); // Forced redraw all chart objects
}
// -------------------------------------------------------------------->
// ~~~
// ---------------------------------------------------------------------> MetaQuotes manual example broadcast ==> I use dparam to send chart pair id but can be set to zero (as example)
//+------------------------------------------------------------------+
//| sends broadcast event to all open charts |
//+------------------------------------------------------------------+
void BroadcastEvent(long lparam,double dparam,string sparam)
{
int eventID=broadcastEventID-CHARTEVENT_CUSTOM;
long currChart=ChartFirst();
int i=0;
while(i<CHARTS_MAX) // We have certainly no more than CHARTS_MAX open charts
{
EventChartCustom(currChart,eventID,lparam,dparam,sparam);
currChart=ChartNext(currChart); // We have received a new chart from the previous
if(currChart==-1) break; // Reached the end of the charts list
i++;// Do not forget to increase the counter
}
}
// --------------------------------------------------------------------> End of example broadcast