Greetings and best wishes.
I am trying to get started with writing my own script. Many many years ago I wrote some dbase and FoxBase code and have recently dabbled with php, so I have some conceptual ideas of scripting.
I am now looking for pointers in getting started with writing a simple script as follows:
Place on a 5 minute chart.
01 - Find the close of 5 minute bar at 16:00 yesterday, write the value to a variable, put a coloured dot on chart
02 - Find the close of 5 minute bar at 07:20 today, write the value to a variable, put a different coloured dot on chart.
03 - If 02 is higher than 01, add XX number of ticks to 02 and place a sell stop with a Profit target of 8 ticks and a stop of 5 ticks.
I am sure that there will be many other variables that will need to be decleared but, for the time being, I would like to start here.
Many thanks for your attention and please send any information that might set me on the right path.
Thanks and warm regards.
Comment