Baluda Indicators

Includes an archive of all previous Bob stuff
dakiwi
Trader
Posts: 14
Joined: Sun Jun 17, 2012 1:39 am

Baluda Indicators

Post by dakiwi »

Hello Baluda
your work is amazing. :good: I am using some in my trading.
I have been trading with Renko for some time and have found that several standard Empty4 indicators can work quite well as I think the lagging factor in many cases is taken care of in the Renko Bars.
I use stacking trades much of the time and am wondering if a script could be coded to do the following:
To close all trades on a chart pair (not every pair, just the pair the script is applied to) when a set take profit level is applied to the LAST trade taken in a stack.

So, after say taking ten stack trades, the eleventh being the last trade to open, the script would then be put on the chart and the take profit set. When the TP is hit, all open trades of that pair would be closed.

The only user setting needed is the take profit, but a line thickness and colour option would be helpful.

Attached is a screen clip of one of my open charts on my demo account. the gold and violet vertical lines are the open buy and close buy/open sell boxes.
Stack trades are taken when the two Baluda super slope crosses are the same. Hope this is clear and not a silly request
best regards
Dakiwi :)
You do not have the required permissions to view the files attached to this post.
zyx
Trader
Posts: 84
Joined: Thu Jan 29, 2015 12:42 am
Location: San Diego

Baluda Indicators

Post by zyx »

you'd need an EA for that not a script. a script does something once when its added to a chart then quits, an EA monitors continuously.

and you definitely need a few more indicators on your chart.
dakiwi
Trader
Posts: 14
Joined: Sun Jun 17, 2012 1:39 am

Baluda Indicators

Post by dakiwi »

thanks ZYX So an EA it is then. Not sure about more indicators. The chart seems to be full enough already
Anybody out there interested in an EA that can be set with a SL after a series of stack trades have been open, so that all those trades are closed when the SL is hit? :)
Cheers
Dakiwi
dakiwi
Trader
Posts: 14
Joined: Sun Jun 17, 2012 1:39 am

Baluda Indicators

Post by dakiwi »

Hi, I goofed there with the SL thing.. It should have read a Trailing SL set at the last stack trade taken. :mrgreen:
dakiwi
User avatar
traderduke
Trader
Posts: 306
Joined: Mon Nov 28, 2011 7:30 pm
Location: East Coast USA

Baluda Indicators

Post by traderduke »

Coders

I tried to add a different sound for pair cross & line cross but failed;
to summarize I can get a popup or cannon sound but not both.

appreciate any help

extern bool PopupAlert = true;
extern bool alertsSound = false; //cannon_x.wav line 1079 & 1097
produces the popup and standard alert.wav sound, GREAT

extern bool PopupAlert = true;
extern bool alertsSound = true; //cannon_x.wav line 1079 & 1097
produces the popup and alert sound only, no cannon, not good

extern bool PopupAlert = false;
extern bool alertsSound = true; //cannon_x.wav line 1079 & 1097
produces the cannon sound but no popup with info, no info bad


code at 1072:

void fireAlerts(string sMsg) //for pair crosses
{
if(PopupAlert) Alert("CSS Alert-3.8ps prsX M", (string)Period()," at ",TimeToStr(TimeLocal(),TIME_SECONDS)," "+sMsg); //by RK-5-1-18
if(alertsSound) PlaySound("cannon_x.wav");
if(EmailAlert) SendMail("CSS Alert "+"",sMsg);
if(PushAlert) SendNotification(sMsg);
}

void fireAlertsL(string sMsg)//for line crosses
{

if(PopupAlert) Alert("CSS Alert-3.8ps prLX M", (string)Period()," at ",TimeToStr(TimeLocal(),TIME_SECONDS)," "+sMsg); //by RK-5-1-18
if(alertsSound) PlaySound("boxing_bell_multiple.wav");
if(EmailAlert) SendMail("CSS Alert "+"",sMsg);
if(PushAlert) SendNotification(sMsg);
}

10.7 CSS.v3.8ps_withAlertsCross-28pr-rk-v4.mq4
You do not have the required permissions to view the files attached to this post.
User avatar
renexxxx
Trader
Posts: 860
Joined: Sat Dec 31, 2011 3:48 am

Baluda Indicators

Post by renexxxx »

Hi traderduke,

If you want to play sounds and display alerts at the same time, you will need to disable sounds for events:

In Empty4: Tools -> Options -> Events-tab: Uncheck Enable checkbox.

Cheers ... R.
User avatar
traderduke
Trader
Posts: 306
Joined: Mon Nov 28, 2011 7:30 pm
Location: East Coast USA

Baluda Indicators

Post by traderduke »

Rene
Thanks you for your help, That was so simple, I should have asked the question a month ago.

Thanks again
Ray
dakiwi
Trader
Posts: 14
Joined: Sun Jun 17, 2012 1:39 am

Baluda Indicators

Post by dakiwi »

Is it possible to add XAUUSD and XAGUSD to the CSS v3.8 ?
CSS is a really good help. Great work all involved :good: :smile:
Eod
Posts: 7
Joined: Tue Apr 29, 2014 3:26 am

Baluda Indicators

Post by Eod »

retireme » Sat Oct 22, 2016 1:55 pm wrote:
Hi Oldfella,

I just checked and I had the same problem with the version that Wavegarrick posted so I had a poke around in the code.

Try the fix and see if it works for you now.

Rgds
RM
Hello evrybody.
I post the indi with errors fixed.
Test it and let me know if it is ok.
You do not have the required permissions to view the files attached to this post.
Josh
Trader
Posts: 12
Joined: Sun May 01, 2016 9:31 am

Baluda Indicators

Post by Josh »

Eod » Sun Aug 26, 2018 9:20 pm wrote:
Hello evrybody.
I post the indi with errors fixed.
Test it and let me know if it is ok.

Hi Eod,
What errors did you fix? I have checked your version its not immediately obvious what you have changed.
May be you could indicate so we can assess its functions better.
Thanks
Post Reply

Return to “Nanningbob's Holy Grail Indicator forum”