This indicator was created to show the signal and to to share it with an ea.
Here is some code from the indicator
if(ValSum[0]<(High[0]+Low[0])/2)
{
ObjectSet("NuggetDirection",OBJPROP_XDISTANCE,PosX+5);
ObjectSetText("NuggetDirection","BUY",28,"Lucida Sans Unicode",BuyColor);
ObjectSetText("NuggetLevel","above "+DoubleToStr(lastprice,DisplayDecimals),9,"Lucida Sans Unicode",BuyColor);
}
In plain English :
if the signal <(High[0]+Low[0])/2) then paint Buy
Unfortunately you need to add some code to use it with an ea. The only easy work around I see is:
-create an indicator with the strategy builder with the equation (High[0]+Low[0])/2)
-import both indicators into a TA and build something like if the signal <(High[0]+Low[0])/2) then Buy
For both indicator use mode 0 to get the right signal. To learn about importing indicators see page 36 of the user guide here
http://www.molanis.com/images/stories/m ... de_MT4.pdf