Bullish Pinbar Help
Forums › ProRealTime English forum › ProOrder support › Bullish Pinbar Help
- This topic has 6 replies, 2 voices, and was last updated 8 years ago by fesxeurex.
-
-
12/19/2016 at 9:31 AM #18766
Hello guys
Ive been looking at some of the new videos posted by Nicholas https://www.youtube.com/watch?v=VChJQ00LtHg trying helped me getting started on coding.
im looking to replicate and make bullish pinbar. likes to draw on my charts but im using 10.2 so no luck their
Its like as below
c2 – If Close > Moving Average 200
c3 – If low > Moving Average 20 AND Close > Moving Average 20
c4 – If Close > Open
c5 – as per video bullish pinbar logic
12345678910avg20 = average[20]avg200 = average[200]c2 = close > avg200c3 = low > avg20 and close>avg20c4 = close>openc5 = abs(open-close)/abs(close-low) <= .5condition = c2 and c3 and c4 and c5screener [condition]What im looking for is
- Remove small bars and holidays like sunday or US,UK specific days
- Since im running this on currencies and commodities and stock how do i take into account the point value
- Run this on Daily as well as 4H and 1Hr.
- Have some variable set so that i can test for lets say last 5 days for any major pinbar which ive missed
- run on different timeframes than my platform im on GMT but would like to see it on NY timeframe.
Thats all small list 🙂
Let me know if anyone has experienced this or can help me out with any posts or documentation.
Many Thanks
12/19/2016 at 11:16 AM #18778Here are some answers to your “small list” 🙂
1/ About small bars, you can set a condition that test if the bar is at least 20 points for example:
1nosmallbar = range>20*pointsizeTo eliminate specific days, you’ll have to make some conditions with other Date&Time instructions you’ll find in the documentation here: http://www.prorealcode.com/documentation/category/dateandtime/
2/ Point value of the current instrument is retrieved with “pointsize” instruction like I did on 1/ example
3/ Just change the timeframe in your ProScreener window
4/ Make a new condition that will test if the c5 condition occured at least once in the last 5 previous candlesticks too:
1c6 = summation[5](c5)>05/ Change your GMT time into the platform options for each individual group of stocks/shares/etc., save and restart
12/19/2016 at 12:03 PM #18782Thanks Nicolas
Ive added condition 4 and 1 easy target
2. video 1 can you share the script i type with one finger i will take me a week to write that off and test it.
3/5 Can screener take variable input for Time frame. Timezone changing is difficult manually so i guess it will be tough program wise
Many Thanks
12/19/2016 at 2:53 PM #187913/5 you can use TIMEFRAME instruction in ProScreener. When you declare a TIMEFRAME in your screener code, all codes below it will be read and executed in this specific timeframe.
2. video 1 can you share the script i type with one finger i will take me a week to write that off and test it.
Sorry, I do not understand what you mean here.
12/19/2016 at 3:12 PM #18796Thanks ill check out this time-frame functions
i meant the position size calculation done here https://www.youtube.com/watch?v=VXpKcRfo_So
Cheers
12/19/2016 at 3:16 PM #1879812/19/2016 at 3:54 PM #18799 -
AuthorPosts