- ago
Hello, I'd like to create a bot to enter long as price is coming up to the first support pivot point with the EMA9 right underneath it. My results are quite different than what I believe I have programmed with the building blocks. I'm posting three images, the first is of a real trade and what I'd like the bot to do, and then the two images after are of my current configuration and a sample of unexpected results.
0
309
Solved
5 Replies

Reply

Bookmark

Sort
- ago
#1
Hi,

From what I've seen on the WL8 chart, the trade corresponds with the Blocks. Is the Close price 1% above the EMA? Yes. Is the EMA at least 1% below the Pivot R1 level? Yes it is.

Why do you think the entry should be delayed as on picture 1? It would be optimal if you describe the rules of your setup.
0
- ago
#2
Hi Eugene,

Thanks for your reply. My setup is essentially
If Price is above the 20EMA and crosses PivotR1, Long with stops at R2, 20EMA, and 1% loss

If Price is below the 20EMA and crosses PivotS1, Short with stops at S2, 20EMA, and 1% loss

If price closes below 20EMA at any point throughout the day, stop looking for Long trade for today

If price closes above 20EMA at any point throughout the, stop looking for Short trade for today
0
- ago
#4
Also, could you make the bot cross asset aware? For example,

If SMH, ARKK, QQQ, SPY closed below 20EMA at any point, then no long trades today

If SMH, ARKK, QQQ, SPY closed above 20EMA at any point, then no short trades today

For example of what I said earlier, the bot wouldn't take this trade because we closed below the 20EMA, even though later on in the day is setup on the R1
0
Glitch8
 ( 13.87% )
- ago
#5
Hi steptank, all of these rules can be expressed in a C# Strategy using variables, but it’s too complicated for a Building Block Strategy. We’re working on some new service offerings where we’ll be able to write your code for you but we’re not quite there yet, stay tuned!
0
Best Answer

Reply

Bookmark

Sort