So I have been tinkering with indiors lately and have heard a lot about coding in metatrader across how

Lately I just finished changing an indior. This indior calculates 4 different things

1. range (high-low)

2. Body dimensions (close-open). Here is the significance of the open-close range

3. Body/range ratio (2/3)

4. Price% change (open-close)

these calculations are done over 1,5,10,20 times

a number of the analysis I am attempting to implement within my system would include

1. When a transaction is entered, I would place s/l the worth of the 5 day range pips below close of the latest completed bar (for extended ) or preceding close of recent finished bar (for short)

2. I really do not know how to implement body size. .

3. Body/range ratio informs me the indecision factors. If you recall what dojis are, the longer the shadows and the smaller the body, the more powerful the doji. Therefore, if the body/range ratio is small then you can obtain a fast overview of the way indecisive the market is at the last 1,5,10,20 days. If the 10 or 5 days ratio is significantly less than 20-30 percent I would not exchange. Example USDCHF indecision ratio for the last 5,10,20 days are 29%,34%,26% respectively so I would not want to exchange that.

4. Price change percentage is I consider to be trend analysis. In case the interval is 5 days, I take the open of the previous 5 days - close of the 5th day. The percentage is simply the difference/the starting price*100. This tells me price has changed from the 1,5,10,20 days in terms of percentage. A good way to see how brief,intermediate,long term trend is forming

and finally, PAIN indior was modified to put all of the traces in the same graph. .took me a while to do so
https://forexintuitive.com/attachmen...1550147376.mq4
https://forexintuitive.com/attachmen...1049910268.mq4