[pirate] Script: new high, lower BB...
Author: braziltrader
Creation Date: 5/3/2010 8:18 PM
profile picture

braziltrader

#1
I need a help to set up a script. I'm trying a long time. But I can not anyway.
let's start.
Database:
5 Years
5 minutes in 5 minutes
Indice Bovespa future (Brazil)

Script Issues:
Buy:
When price is above the 100 MMS
and when he does new maxima after 3 bars.
Or if the price close out the lower band BB Traditional.
Exit Buy:
When the price did lose the bottom to form this new maximum of three bars and then stop going up every time I did the new maxima after 3 bars, put it in the minimum of this last 3 bars.
short:
When price is below the MMS 100
and when he makes a new low after three bars.
Or if the price to close out the upper band BB Traditional.
Exit Short:
When the price did lose the bottom to form this new minimum of three bars down and then stop every time I made a new low, put it in the maximum of this last 3 bars.

And one more thing in the portfolio simulation:
The Bovespa index, the prices are + or- between 50,000to 72,000 points in the database. However the margin it needs to operate is 2,500. How do I put operate with 10,000, so are four contracts.Comissions Each contract costs 1 dollar. 4 dollars brokerage gone, and four dollars brokerage back. And the points, if i buy 4 contracts 50,000 points and sell in 51,000 . I win 200 dollars, and paid comission 8 dollars.

If anyone help . I am very grateful.

Thanks

Regards
profile picture

Eugene

#2
QUOTE:
I need a help to set up a script. I'm trying a long time. But I can not anyway.

Maybe the problem is that you haven't taken a free trial of Wealth-Lab Developer 5?
profile picture

braziltrader

#3
I dont have the free trial. So I can not do this script?
profile picture

Eugene

#4
It's not clear to me how can you run a Strategy in WLD5 w/o being a customer or having a free trial.
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).