Source: https://fxcodebase.com/code/viewtopic.php?f=17&t=65501
Forum: 17 · Topic 65501 · 36 post(s)
Apprentice · Tue Jan 02, 2018 12:52 pm

Based on the request. viewtopic.php?f=27&t=65497
MT4/MQ4 version viewtopic.php?f=38&t=65696&p=117575#p117575
jrichardson83 · Tue Jan 02, 2018 3:31 pm
Apprentice,
Great. Thank you. Was wondering if you could add price label on the Stop, Entry, and Targets. Also, can we add one addition target at T3 = 2?
See image
Apprentice · Wed Jan 03, 2018 6:01 am
Try it now.
jrichardson83 · Wed Jan 03, 2018 3:19 pm
Awesome, thanks Apprentice.
jrichardson83 · Tue Jan 16, 2018 12:23 pm
Apprentice,
I was wondering if you could add a couple more layers of code on this indicator. What I’ve done is add the Weekly PSAR on the daily chart to determine overall direction. What I would like is a basic paint bar based off of the parameters seen in the picture. I would like to be able to adjust the colors for the bars also.
Thanks
jrichardson83 · Wed Jan 17, 2018 7:48 am
Apprentice wrote: Try it now.
Oh yeah, also, can we place the #pips at the Target levels, next to the price? For example
Target 1 121678 (315)
Stop 1.15534 (-315)…
Something like that. That keeps me from having to use the ruler tool to measure.
Apprentice · Wed Jan 17, 2018 9:07 am
Your request is added to the development list under Id Number 4009
Apprentice · Wed Jan 17, 2018 10:31 am
Try this version.
jrichardson83 · Wed Jan 17, 2018 5:00 pm
Apprentice wrote: Try this version.
Which version> Just re-download the first version?
Apprentice · Wed Jan 17, 2018 5:33 pm
Yes.
jrichardson83 · Thu Jan 18, 2018 10:20 am
Apprentice wrote: Yes.
Hey Apprentice, i’m not sure here…I re-downloaded the file, but it seems to be the same as the old version. There isn’t any paint bar functionality or anything like that.
jrichardson83 · Thu Jan 18, 2018 10:49 am
Apprentice wrote: Try this version.
Oh wait, I see the adjustment you made to the pip calculation now. I thought you were referring to other post regarding the paint bars.
jrichardson83 · Thu Jan 18, 2018 11:11 am
Apprentice wrote: Yes.
Okay, I think I should have clarified on the pip calculation. Currently its being dynamically calculated, but what I was hoping o achieve was a static calculation from the entry point to each target and stop level. See the image
jrichardson83 · Fri Jan 19, 2018 9:24 am
Alright, I know my other tweaks are somewhere in the que. I just wanted to add this last bit here. When plotting multiple instances of the indicator for the different timeframes overlapping occurs at particular points. For example, Weekly Target one will coincide with Monthly Target two, and so forth. This makes things difficult to read and interpret. I’ve suggested some possible fixes in the image.
Thanks. No rush on delivery, just whenever someone gets to it.
Apprentice · Sat Jan 20, 2018 3:20 pm
Your request is added to the development list under Id Number 4014
Apprentice · Sat Jan 20, 2018 3:28 pm
Currently its being dynamically calculated, but what I was hoping o achieve was a static calculation from the entry point to each target and stop level.
Fixed.
Apprentice · Mon Jan 22, 2018 4:54 am
Try it now, we added an optional background (via ownerdraw).
jrichardson83 · Thu Jan 25, 2018 8:09 am
Apprentice wrote: Try it now, we added an optional background (via ownerdraw).
Apprentice,
Thanks for the alteration, but I don’t think its going to work. If you see the images below, you’ll notice that all the labeling does is make the other timeframe data unreadable. I have to really stretch the chart out to see the separation between the data points.
nookie · Sat Feb 03, 2018 9:30 am
Is there an mq4 version ?
Apprentice · Sat Feb 03, 2018 3:11 pm
Your request is added to the development list under Id Number 4030
Apprentice · Sun Feb 04, 2018 6:29 am
The Indicator was revised and updated.
Apprentice · Mon Feb 05, 2018 1:47 pm
MT4/MQ4 version viewtopic.php?f=38&t=65696&p=117575#p117575
jrichardson83 · Wed Feb 14, 2018 9:57 pm
I wanted to request a slight addition to this indicator and the MQ4 version. I’ve been hand measuring a certain pip distance from the Entry line, but can an addition line be coded for the “Trigger.” Basically, this is just a user defined pip value from the entry point. I want to place either buy or sell stop orders a certain distance from the entry. The parameter could look something like this:
Trigger (N) Pips.
For example 50 Pips.
Apprentice · Thu Feb 15, 2018 6:03 am
Try it now.
jrichardson83 · Thu Feb 15, 2018 9:32 am
Apprentice wrote: Try it now.
Good stuff, Apprentice. Thanks. Slight issue with the trigger text replacing the 3rd take profit line. Might need to tweak that a bit.

Apprentice · Thu Feb 15, 2018 7:42 pm
Fixed.
jrichardson83 · Sun Mar 04, 2018 9:54 am
Apprentice, I wanted to revisit an earlier request re: this indie because I would still like the option to print text on either the left or right side of the line. The addition of the label to this indicator didn’t solve the issue because as the text overlaps still, the label only obscures the text.
One other thing, can we add a parameter to either show or not show historical signals or “show only current” signals? I want to clean up the chart a bit.
Apprentice · Mon Mar 05, 2018 8:38 am
Historical option added.
jrichardson83 · Thu Mar 15, 2018 7:36 am
Apprentice wrote: Historical option added.
To Apprentice, can you adjust the “historical options” to not show historical arrows (Circled in the image)? To show only the most recent or active signals?
And also, while you adjusted the label to the left, I was wanting the option to put the label on either the left OR the right. This is so when I have multiple instances of the indicator on the screen the labels aren’t on top of each other.

Apprentice · Thu Mar 15, 2018 5:50 pm
Your request is added to the development list under Id Number 4080
Apprentice · Sat Mar 17, 2018 8:11 am
Try this version.
jrichardson83 · Tue Mar 20, 2018 8:39 am
Apprentice wrote: Try this version.
SAR Price Targets.lua
Awesome, works like a charm.
swingtrader · Wed Apr 19, 2023 10:05 am
I request a strategy based on this indicator
Buy: entry level > stop loss and price cross over entry level
Sell: entry level. < Stop loss and price cross under entry level
Thank u.
Apprentice · Sat Apr 22, 2023 12:14 pm
We have added your request to the development list. Development reference 357.
Apprentice · Sat Apr 22, 2023 5:01 pm
Try this version. https://fxcodebase.com/code/viewtopic.php?f=31&t=73634 Note. Signals will be exactly the same as your regular SAR strategy.
swingtrader · Sat Apr 22, 2023 11:29 pm
Thank u.