Calculated pen on Easy Chart

Hello people, i have what i think its an easy question, is it posible to show a calculated pen that is a simple calculation???, "if tag 1 = 1 and tag 2 = 0 then 1" i know i can do it with an expresion tag but i have over a year of historian of those previous tags and dont know how to create retrospective history (if posible)

thanks in advance

This is not clear.
Do you want to pick a tag depending on some condition, or pick a value in their historised values for each time point depending on a condition ?

let me try again,

i want to show a tag, which is a resultant of 2 tags, in a chart like a clock signal.
the tag would be 1 if the first tag value is 1 and the second is 0.
the yellow highlighted zone is the result i want to show in a in single tag

So what you want to show is not a tag but a value that's computed based on 2 tags ?

My knowledge of visio is limited but the easy chart might not be the right component for this.
Use a simple chart, pull the data for your 2 tags with functions, and process the results to get what you want. Something like

data = [int(a - b == 1) for a, b in zip(tag_data_a, tag_data_b)]

This will only work properly if both tags have matching data, by which I mean data for the same timestamps or approximately. If you have data for t=1, t=3 and t=6 for a and t=2, t=4 and t=5 for b it might not be reliable.