Friday, February 28, 2020

454 Refined

It took quite sometime for me to make this modified version work. Even if its working now, I dont know why it didnt work before. Well thats beside the point. So what so good about this version of _dayhr226 ??

It now has the capability to count whats left of the pending orders. If it is below a certain number it will delete all left whilst leaving the running orders going and create new pending orders. In this way the chart will be sure to execute pending orders which are in the right direction and nearby. The trailing stop will take care of the trades thats running.

With this in mind, we dont have to create so many pending orders as it would by far chance that all 25 of thwm would be touched... unless the activation is controlled by the close of a bar so a lot of em might already be activated during the course of 1 bar.

This needs further thinking. The gap is still left at 5 pips thou the number of pending orders now cant be 25 maybe 10 would be fine.

In this way its OK for the trailing stop to zeroised on potential profit. Prior to this it felt like a waste when a trade ended with 0 as it would take the price to travel another 5pips to try to get another one.

BTW, SAK can show how many pending orders there are. Kudos to that. Only thing when its monitoring GU there will be alot of lines interfering the readings.